View source: R/age_depth_model.R
age_depth_model | R Documentation |
Create age depth models
age_depth_model( .data = NULL, depth, age, age_min = NA_real_, age_max = NA_real_, interpolate_age = age_depth_interpolate, extrapolate_age_below = ~age_depth_extrapolate(.x, .y, x0 = last, y0 = last), extrapolate_age_above = ~age_depth_extrapolate(.x, .y, x0 = first, y0 = first), interpolate_age_limits = age_depth_exact, extrapolate_age_limits_below = age_depth_na, extrapolate_age_limits_above = age_depth_na )
.data |
A data frame |
depth, age, age_min, age_max |
Expressions evaluated in |
interpolate_age, extrapolate_age_below, extrapolate_age_above |
These arguments provide the rules for interpolating and extrapolating ages based on depths. |
interpolate_age_limits, extrapolate_age_limits_below, extrapolate_age_limits_above |
These arguments provide the rules for interpolating and extrapolating age min and max values based on depths. |
An age depth model object.
age_depth_model( alta_lake_210Pb_ages, depth = depth_cm, age = age_year_ad, age_max = age_year_ad + age_error_yr, age_min = age_year_ad - age_error_yr )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.