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

Description Usage Arguments Details Value Author(s) Examples

View source: R/postanalysis.R

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

1
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

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

GPawi/clamsy documentation built on July 4, 2020, 12:02 a.m.