Your error is seeking for range, which provides you a vector's range, like in:
range (10, -5, 100), c,
gives
-5 100
Examine the: operator to provide sequences (with a step size of one) instead.
1:100
alternatively for a little bit more control, try the seq function. For instance,
## Step size of 2 Sequence (1, 100, by=2)
Transform data into actionable insights with our Data Analyst Certification – Enroll today!