Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

hpdi

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


Description

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

Usage

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

Examples

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

rcarbon

Calibration and Analysis of Radiocarbon Dates

v1.4.2
GPL (>= 2)
Authors
Andrew Bevan [aut] (<https://orcid.org/0000-0001-7967-3117>), Enrico Crema [aut, cre] (<https://orcid.org/0000-0001-6727-5138>), R. Kyle Bocinsky [ctb], Martin Hinz [ctb], Philip Riris [ctb], Fabio Silva [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.