Answers for "r range with step"

R
1

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
Posted by: Guest on March-26-2020

Browse Popular Code Answers by Language