Skip to contents

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