tp_to_adm {admtools} | R Documentation |
Construct age-depth model from tie points
Description
Turns tie points into an adm
object that represents an age-depth model
Usage
tp_to_adm(t, h, T_unit = NULL, L_unit = NULL)
Arguments
t |
Vector, tie points in time |
h |
Vector, tie points in height |
T_unit |
time unit |
L_unit |
length unit |
Details
by default, intervals with no sediment accumulation are marked as destructive.
tp_to_adm
does not check whether the inputs define a valid age-depth model. For this, use
is_adm
Value
object of class adm
See Also
is_adm()
to check validity of adm
objects
Examples
## Not run:
my_adm = tp_to_adm(t = 1:4, h = c(1,2,2,3), T_unit = "kyr", L_unit = "m")
plot(my_adm)
# see vignette("admtools") for other examples
## End(Not run)
[Package admtools version 0.3.0 Index]