Last data update: 2014.03.03

R: Log grid seq
seq.logR Documentation

Log grid seq

Description

Generates a log grid

Usage

seq.log(from = 1, to = 1, length.out = 50, add.zero = FALSE, shifting = 0, ...)

Arguments

from

First value.

to

Final value.

length.out

Number of values to generate.

add.zero

If TRUE, append the value 0 on the smaller end of the result.

shifting

Shifting to apply to the log grid. Negative values produce greater bunching up near the minimum, with the reverse for positive values. NOTE: shifting + from and shifting + to must both be greater than zero.

...

Dummy variables for compatibility

Value

A vector of length length.out, plus one if add.zero is TRUE.

Author(s)

Zhou Fang

Examples

seq.log(1,10, 10)
seq.log(1,10, 10, FALSE, -0.9)

Results