hdr2.den {Bchron}R Documentation

Highest density region plots for Bchron output.

Description

Adapted from hdr.den in the hdrcde package which is a pre-requisite for the Bchron package to work. Produces plots of the highest density regions for ages at desired depths throughout the core.

Usage

hdr2.den(x = NULL, prob = c(50, 95, 99), den = NULL, h = NULL, ylab = "", ...)

Arguments

x Simulations from the density of interest.
prob Pobability regions
den The density for x. If not given, is automatically calculated
h Bandwidth
ylab The y-axis label
... Other arguments passed to the plot command.

Value

A plot of the density for together with 50%, 95% and 99% highest posterior density regions.


[Package Bchron version 2.1 Index]