withinhpd {coffee}R Documentation

Calculate the fit of a modelled age with the corresponding date

Description

This is a measure of the fit of the modelled age to that of the date. If many of the modelled age iterations fall within any of the highest posterior density (hpd) range of a date, the model fits the date well. The values can range from 0

Usage

withinhpd(calibs, probs, modelled, prob = 0.95)

Arguments

calibs

The calibrated ages of the distributions (dates)

probs

The probabilities associated with the calibrated ages (dates)

modelled

The modelled ages

prob

Probability range for the hpd ranges

Value

a list of fits (values between 0 and 100


[Package coffee version 0.3.0 Index]