emdbook (version 1.3.12)

lseq: Log-spaced sequence

Description

Generates a logarithmically spaced sequence

Usage

lseq(from, to, length.out)

Value

logarithmically spaced sequence

Arguments

from

starting value

to

ending value

length.out

number of intervening values

Author

Ben Bolker

Details

lseq() is just a wrapper for exp(seq(log(from), log(to), length.out = length.out))

See Also

Examples

Run this code
lseq(10,1000,9)

Run the code above in your browser using DataCamp Workspace