strat_to_time.list: transform list from height to time domain

View source: R/strat_to_time.list.R

strat_to_time.listR Documentation

transform list from height to time domain

Description

Lists are useful to keep data closely associated. This function transforms a list that contains observations associated with a stratigraphic position (recorded in the element with name "h") into a list where the observations are associated with time.

Usage

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

Arguments

obj

a list with one element named "h", which will be interpreted as stratigraphic positions

x

an adm object

...

options passed to get_time

Value

a timelist (inherits from list). A list with one named element "t" instead of the element "h". This element contains the times of the stratigraphic positions in "h".

See Also

time_to_strat.list() for the transformation from time to height domain, get_time() for the underlying procedure, time_to_strat() for the higher level function

Examples

# see vignette("admtools") for an example


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