strat_to_time: transform objects from strat. to time domain

View source: R/strat_to_time.R

strat_to_timeR Documentation

transform objects from strat. to time domain

Description

Takes an object and transforms it from the time domain into the stratigraphic domain using the provided age-depth model. Currently implemented for the "phylo", "list", and "numeric" class. Wraps around get_time.

Usage

strat_to_time(obj, x, ...)

Arguments

obj

the object to be transformed

x

age-depth model

...

other parameters

Value

an object of the same type as obj

See Also

time_to_strat() to transform data from the time to the stratigraphic domain, strat_to_time.phylo(), strat_to_time.numeric() and strat_to_time.list() for details on how to transform phylogenetic trees, vectors, and lists. See get_time() for the underlying procedure.


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