strat_to_time.numeric: transform numeric vectors from height to time domain

View source: R/strat_to_time.numeric.R

strat_to_time.numericR Documentation

transform numeric vectors from height to time domain

Description

This function transforms numeric vectors from the stratigraphic 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


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