50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

rcarbon (version 1.4.0)

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 in cal BP

See Also

calibrate

Examples

Run this code
# NOT RUN {
x <- calibrate(c(3050,2950),c(20,20))
hpdi(x)
# }

Run the code above in your browser using DataLab