tp_to_adm | R Documentation |
Turns tie points into an adm
object that represents an age-depth model
tp_to_adm(t, h, T_unit = NULL, L_unit = NULL)
t |
Vector, tie points in time |
h |
Vector, tie points in height |
T_unit |
character, time unit |
L_unit |
character, length unit |
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
object of class adm
is_adm()
to check validity of adm
objects, get_T_tp()
and get_L_tp()
to extract time and height/length tie points
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.