deptime.age | R Documentation |
Calculates *for each iteration* the slope of a straight curve between
depths above and below the desired age. Requires sufficiently dense density of depths, e.g. steps=1
.
deptime.age(age, yrcm = TRUE, prob = 0.95)
age |
Age to calculate deposition time (years per cm). |
yrcm |
Calculate in years per cm, or alternatively in cm per yr. |
prob |
Probability level at which to calculate the ranges. |
To calculate deposition times at an age. Before doing this, run your core in clam and store the data,
so, make sure the option storedat=TRUE
.
Renamed from previous accrate.age function to avoid confusion with accrate.age function of rbacon.
Returns (invisibly) the modelled deposition times at a specific age, a histogram and confidence ranges.
Maarten Blaauw
base_temp_dir <- tempdir()
clam_dir <- file.path(base_temp_dir, "clam_runs")
dir.create(clam_dir, recursive = TRUE, showWarnings = FALSE)
clam(coredir=clam_dir, storedat=TRUE)
dp <- deptime.age(5000)
summary(dp)
deptime.age(5000, yrcm=FALSE) # to calculate sedimentation times in cm/yr, so accumulation rates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.