linspace.RdGenerate linearly spaced sequences.
linspace(x1, x2, n = 100)These functions will generate n linearly spaced points between
x1 and x2.
If \(n < 2\), the result will be the ending point x2.
vector containing n points between x1 and x2 inclusive.
linspace(1, 10, 9)
#> [1] 1.000 2.125 3.250 4.375 5.500 6.625 7.750 8.875 10.000