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

plot.warnCI

Plot for CI of posterior probabilities of weaning parameters


Description

plot.warnCI is a plotting utile for quick visualization of credible interval (CI) of posterior probabilities of the weaning parameters from an object of class "warnCI". Results of kernel density estimation for the posteriors are plotted as a form of contour or one-dimensional distribution with CIs.

Usage

## S3 method for class 'warnCI'
plot(x, weaning.par = "age", ...)

Arguments

x

an object of class "warnCI" generated by warnCI.

weaning.par

character for the intended weanig parameter. The allowed values are "age" (the default), "enrich", and "wnfood".

...

additional arguments passed to plot.warnProb.

Details

Values on the contour lines indicate relative probabilities based on that of the maximum density estimator.

References

Tsutaya, T., and Yoneda, M. (2013). Quantitative reconstruction of weaning ages in archaeological human populations using bone collagen nitrogen isotope ratios and approximate Bayesian computation. PLoS ONE 8, e72327.

See Also

Examples

## See ?warnCI for examples.

WARN

Weaning Age Reconstruction with Nitrogen Isotope Analysis

v1.2-4
GPL (>= 3)
Authors
Takumi Tsutaya
Initial release
2019-10-18

We don't support your browser anymore

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