Learn R Programming

liso (version 0.2)

seq.log: 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.

Examples

Run this code
seq.log(1,10, 10)
seq.log(1,10, 10, FALSE, -0.9)

Run the code above in your browser using DataLab