Description Usage Arguments Details Value See Also Examples
A function for computing highest density regions (HDRs)
1 |
date |
A calibrated Bchron date, via e.g. |
prob |
The desired probability interval, in the range(0, 1) |
The output of this function is a list of contiguous ranges which cover the probability interval requested. A highest density region might have multiple such ranges if the calibrated date is multi-modal. These differ from credible intervals, which are always contiguous but will not be a good representation of a multi-modal probability distribution.
A list where each element is one of the contiguous sets making up the HDR
1 2 3 4 5 6 7 | # Calibrate multiple ages and summarise them
ages <- BchronCalibrate(
ages = 11553, ageSds = 230,
calCurves = "intcal20"
)
# Get samples
hdr(ages$Date1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.