CPG {CPGchron}R Documentation

An MCMC run of the CPG model

Description

This function will perform a run of the MCMC for the compound Poisson Gamma (CPG) model for radiocarbon dated depth chronologies. It is best accessed through the CPGmenu.

Usage

CPG(CALPATH, INFILE, OUTFILE, ndet, iterations, burnin, howmany, thinby)

Arguments

CALPATH A character string detailing the location and name of the calibration curve file. Note that CPGchron uses a specific version of the Northern hemisphere Intcal calibration curve. Other calibration curves are not supported.
INFILE A character string detailing the location and name of the determinations, as required by CPGchron package. See CPGmenu for more details.
OUTFILE A character string detailing the desired location and name of the output file.
ndet The number of radiocarbon determinations for this core.
iterations The number of iterations required for the MCMC.
burnin The length of the MCMC burn-in.
howmany How often you wish the program to report updates in iterations.
thinby How much thinning should occur to the MCMC output.

Value

No output produced but the file specified in OUTFILE is populated by parameter values.

Author(s)

Andrew Parnell

References

Haslett and Parnell (2007; submitted to JRSSC)

Examples

    ## Given in CPGmenu    

[Package CPGchron version 0.1 Index]