deptime.age: Calculates the slope of a straight curve at the desired age.

View source: R/postanalysis.R

deptime.ageR Documentation

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)

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.

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.

Value

Returns (invisibly) the modelled deposition times at a specific age, a histogram and confidence ranges.

Author(s)

Maarten Blaauw

Examples

  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

clam documentation built on Aug. 17, 2022, 5:06 p.m.