Generate Sequences, Equidistant on Log Scale
lseq.RdGenerate sequences which are equidistant on a log-scale.
Value
a numeric vector of length length.
See also
seq.
Examples
(x <- lseq(1, 990, length= 21))
#> [1] 1.000000 1.411828 1.993258 2.814137 3.973078 5.609302
#> [7] 7.919369 11.180786 15.785345 22.286190 31.464265 44.422128
#> [13] 62.716399 88.544762 125.009966 176.492557 249.177116 351.795205
#> [19] 496.674285 701.218612 990.000000
plot(x, x^4, type = "b", col = 2, log = "xy")
if(with(R.version, major >= 2 && minor >= 1))
plot(x, exp(x), type = "b", col = 2, log = "xy")