Generate sequence in log scale

Description

Generate sequence but in log scale. This function takes takes the length of log-sequence and the minimal and maximal point. It returns the interval between a and b divided in log scale.

Usage

1
logseq(a, b, n=8)

Arguments

a

the smaller value in the interval

b

the bigger value in the interval

n

the number of intervals to divide a,b into

Value

a vector of numbers

Examples

1
2
# produces vector c(0.01, 0.1, 1)
logseq(0.01, 1, 3)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.