deptime.age: Calculates the slope of a straight curve at the desired age.
Description
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.
Usage
deptime.age(age, yrcm = TRUE, prob = 0.95)
Value
Returns (invisibly) the modelled deposition times at a specific age, a histogram and confidence ranges.
Arguments
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.
Author
Maarten Blaauw
Details
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.
clam(coredir=tempdir(), storedat=TRUE)
dp <- deptime.age(5000)
summary(dp)
deptime.age(5000, yrcm=FALSE) # to calculate sedimentation times in cm/yr, so accumulation rates