Logarithmically spaced sequence

lseq(from = 1, to = 1e+05, length.out = 6)

Arguments

from

the starting value of the sequence. Must be positive.

to

the terminal value of the sequence. Must be larger than input to "from".

length.out

desired length of the sequence. Must not be negative.

Value

A sequence of logarithmically spaced numbers.

Examples

lseq(1, 1000, length.out = 4)
#> [1] 1 10 100 1000