time_to_strat.numeric: transform vectors from time to height domain

View source: R/time_to_strat.numeric.R

time_to_strat.numericR Documentation

transform vectors from time to height domain

Description

This function transforms numeric vectors from the time to the stratigraphic domain Fundamentally a wrapper around get_height for consistent syntax

Usage

## S3 method for class 'numeric'
time_to_strat(obj, x, ...)

Arguments

obj

a numeric vector, interpreted as timing of events

x

an adm object

...

options passed to get_height

Value

a numeric vector - stratigraphic position of the events

See Also

strat_to_time.numeric() for the transformation from height to time domain, time_to_strat.phylo() and time_to_strat.list() for transformations of phylogenetic trees and lists. See get_height() for the underlying procedure.

Examples

# see vignette("admtools") for an example


admtools documentation built on Oct. 4, 2024, 1:09 a.m.