rev_dir {admtools} | R Documentation |
reverse direction of time/depth axis
Description
The FossilSim
package simulates fossils, trees, and taxonomies using age
meaning 0 represents the present and larger numbers indicate older ages
To interact with admtools
, the direction of time must be reversed
effectively replaces the time component t
of an object by ref - t
Usage
rev_dir(x, ref)
Arguments
x |
object to transform - typically a |
ref |
reference point used for reversal |
Examples
## Not run:
# for usage example, see
vignette("FossilSim_integration")
## End(Not run)
[Package admtools version 0.6.0 Index]