Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

r range with step

> #a vector of even numbers
> seq(0, 10, by=2) # Explicitly specifying "by" only to increase readability 
> [1]  0  2  4  6  8 10
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #range #step
ADD COMMENT
Topic
Name
9+6 =