strat_to_time.list {admtools} | R 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 |
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
[Package admtools version 0.3.0 Index]