Generate a sequence by fold increase and decrease from a point
Usage
seq_fct(point, n = 5, factor = c(3, 3), geo = TRUE, digits = NULL)
Arguments
- point
a numeric vector of length 1.
- n
number of elements in the sequence.
- factor
an integer vector of length 1 or 2; if length 1, values will be recycled to length 2; the first number used to divide
point
to generate the minimum value in the sequence; the second number is used to multiplypoint
to generate the maximum value in the sequence.- geo
if
TRUE
,seq_geo()
is used to generate the sequence; otherwise,seq_even()
is used to generate the sequence.- digits
number of significant digits in the answer; if
NULL
(the default) all digits are retained.