seqLog {smatr} | R Documentation |
Sequence Generation
Description
Generate multiplicative sequences, or series.
Usage
seqLog(from, to, base = 10)
Arguments
from , to |
the starting and (maximal) end value of a sequence. |
base |
multiplication value. |
Details
Starting at from
, seq
multiplies successively by base
until the maximal value is reached. This is useful for generating tick-spacing on log-transformed axes.
See Also
Examples
#Sequence suitable for log base 10 labels
seqLog(1E-5, 1E5)
#Sequence suitable for log base 2 labels
seqLog(2, 128,base=2)
[Package smatr version 3.4-8 Index]