strat_to_time.numeric {admtools}R Documentation

transform numeric vectors from height to time domain

Description

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

Usage

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

Arguments

obj

a numeric vector representing stratigraphic positions.

x

an adm object

...

options passed to get_time

Value

A numeric vector with times of deposition of the entries in obj

See Also

time_to_strat.numeric() for the transformation from time to height domain, get_time() for the underlying procedure, time_to_strat() for the higher level function, strat_to_time.list() and strat_to_time.phylo() for the transformation of lists and phylogenetic trees.

Examples

# see vignette("admtools") for an example


[Package admtools version 0.3.0 Index]