Learn R Programming

admtools (version 0.4.0)

time_to_strat.numeric: 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 numeric
time_to_strat(obj, x, ...)

Value

a numeric vector - stratigraphic position of the events

Arguments

obj

a numeric vector, interpreted as timing of events

x

an adm object

...

options passed to get_height

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

Run this code
# see vignette("admtools") for an example

Run the code above in your browser using DataLab