seqLog: Sequence Generation

View source: R/seqLog.R

seqLogR 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.

Value

vector from lo to hi with multiplication steps of incr. Used for making ticks to a log-scaled axis

Examples

## Not run: 
#Sequence suitable for log base 10 labels
seqLog(1E-5, 1E5)

#Sequence suitable for log base 2 labels
seqLog(2, 128,base=2)

## End(Not run)

dfalster/smatr3 documentation built on Aug. 30, 2022, 5:25 a.m.