agreementIndex: Calculate Agreement Indices.

View source: R/agreementIndex.R

agreementIndexR Documentation

Calculate Agreement Indices.

Description

Computes OxCal-style (Bronk-Ramsey 1995) individual and overall agreement index for evaluating model consistency.

Usage

agreementIndex(CRA, CRAError, calCurve = "intcal20", theta, verbose = TRUE)

Arguments

CRA

vector of C14 ages.

CRAError

vector of C14 errors associated with CRA.

calCurve

character string naming a calibration curve, one between 'intcal20','intcal13','shcal20','shcal13','marine13' and 'marine20'.

theta

a Matrix containing the posterior samples of each date.

verbose

a logical variable indicating whether extra information on progress should be reported. Default is TRUE.

Value

a list containing the individual and overall agreement indices.

References

Bronk-Ramsey, C. (1995). Radiocarbon Calibration and Analysis of Stratigraphy: The OxCal Program. Radiocarbon, 37(2), 425–430.


nimbleCarbon documentation built on Aug. 14, 2023, 5:08 p.m.