summary.warn: Summaries of posterior weaning parameters

Description Usage Arguments Value References See Also Examples

View source: R/warn_s3.R

Description

summary.warn calculates simple summaries of posterior samples for the four weaning parameters, which is the maximum density estimators and its marginal probabilities, a joint probability for the combination of the maximum density weaning ages, mean squared distance between the measured and modeled nitrogen isotope ratio (d15N), number of non-adult individuals used, and number of particles used in sequential Monte Carlo (SMC) sampling.

Usage

1
2
## S3 method for class 'warn'
summary(object, ...)

Arguments

object

an object of class "warn" generated by warn.

...

additional arguments affecting the summary produced.

Value

summary.warn returns a list containing following components and those succeeded from "warn":

call

the matched call.

mde

the maximum density estimators and the marginal probabilities.

prob.2d.age

the joint probability for the combination of the maximum density weaning ages.

dist.mde

the mean squared distance between the measured and modeled d15Ns.

individual

the number of non-adult individuals used.

particle

the number of particles used in SMC sampling.

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.warn

Examples

1
## See ?warn for examples.

Example output



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