time_to_strat.numeric {admtools}R Documentation

transform vectors from time to height domain

Description

This function transforms numeric vectors from the time to the stratigrahpic 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 numberic 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


[Package admtools version 0.3.0 Index]