View source: R/time_to_strat.list.R
time_to_strat.list | R Documentation |
Lists are useful to keep data closely associated. This function transforms a list that contains observations associated with a time (recorded in the element with name "t") into a list where the observations are associated with stratigraphic position.
## S3 method for class 'list'
time_to_strat(obj, x, ...)
obj |
a list with one element named "t", which will be interpreted as time |
x |
an adm object |
... |
options passed to get_height |
a stratlist
(inherits from list
): A list with one named element "h" instead of the element "t", containing the stratigraphic positions corresponding to the times inf "t"
strat_to_time.list()
for the transformation from height to time domain, time_to_strat.phylo()
and time_to_strat.numeric()
for transformations of phylogenetic trees and vectors. See get_height()
for the underlying procedure.
# see vignette("admtools") for an example
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.