deptime.depth: Calculates *for each iteration* the slope of a straight curve...

View source: R/postanalysis.R

deptime.depthR Documentation

Calculates *for each iteration* the slope of a straight curve between depths just above and below the desired point.

Description

Calculates *for each iteration* the slope of a straight curve between depths above and below the desired point. Requires sufficiently dense density of depths, e.g. yrsteps=1.

Usage

deptime.depth(depth, yrcm = TRUE, prob = 0.95)

Arguments

depth

The depth for which accumulation rate estimates should be calculated.

yrcm

Calculate in years per cm, or alternatively in cm per yr.

prob

Probability level at which to calculate the ranges.

Details

To calculate sedimentation times at a depth. Before running this, run your core in clam and store the data, so, make sure to set storedat=TRUE. Renamed from previous accrate.depth function to avoid confusion with accrate.depth function of rbacon.

Value

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

Author(s)

Maarten Blaauw

Examples

  clam(coredir=tempdir(), storedat=TRUE) 
  dp <- deptime.depth(20)
  summary(dp)
  deptime.depth(20, FALSE) # to calculate accumulation rates in cm/yr


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