hpdi: Computes the highest posterior density interval (HPDI) for...

Description Usage Arguments Value See Also Examples

View source: R/calibration.R

Description

Computes the highest posterior density interval (HPDI) for calibrated dates

Usage

1
hpdi(x, credMass = 0.95)

Arguments

x

A CalDates class object.

credMass

Interval probability mass

Value

A list of matrices with HPDI ranges and associated probabilities in cal BP. Note that the sum of the probability mass will be only approximately equal to the argument credMass.

See Also

calibrate

Examples

1
2
x <- calibrate(c(3050,2950),c(20,20))
hpdi(x)

rcarbon documentation built on Jan. 13, 2021, 7:09 p.m.