rev_dir: reverse direction of time/depth axis

View source: R/rev_dir.R

rev_dirR 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 fossil or taxonomy object

ref

reference point used for reversal

Examples

## Not run: 
  # for usage example, see
  vignette("FossilSim_integration")

## End(Not run)



admtools documentation built on June 8, 2025, 10:35 a.m.