Learn R Programming

ArchaeoPhases (version 2.1.0)

sensitivity: Sensitivity

Description

Calculates the ranges of summary statistics from the output of two or more runs of the MCMC algorithm.

Usage

sensitivity(...)

# S4 method for EventsMCMC sensitivity(..., positions = NULL, level = 0.95)

Value

A data.frame.

Arguments

...

Any EventsMCMC object.

positions

A numeric vector specifying the positions of the columns corresponding to the MCMC chains of interest, or a character vector of column names.

level

A length-one numeric vector giving the confidence level.

Author

T. S. Dye, N. Frerebeau

Details

This function is useful for estimating the sensitivity of calibration results to different model parameters.

See Also

summary()

Other statistics: interval_credible(), interval_hdr(), summary()

Examples

Run this code
## Coerce to MCMC
eve <- as_events(mcmc_events, calendar = CE(), iteration = 1)

## Returns 0's
sensitivity(eve, eve)

Run the code above in your browser using DataLab