Learn R Programming

emdbook (version 1.3.11)

lseq: Log-spaced sequence

Description

Generates a logarithmically spaced sequence

Usage

lseq(from, to, length.out)

Arguments

from

starting value

to

ending value

length.out

number of intervening values

Value

logarithmically spaced sequence

Details

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

See Also

seq

Examples

Run this code
# NOT RUN {
lseq(10,1000,9)
# }

Run the code above in your browser using DataLab