plot.warnCI: Plot for CI of posterior probabilities of weaning parameters

Description Usage Arguments Details References See Also Examples

View source: R/warn_s3.R

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

1
2
## 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

WARN, warn, warnCI, warnProb, plot.warnProb

Examples

1
## See ?warnCI for examples.

Example output



WARN documentation built on Oct. 30, 2019, 9:57 a.m.