Learn R Programming

Bchron (version 3.2)

Bchronmenu: Walkthrough menu system for the Bchron package

Description

A walkthrough menu system for the Bchron package. Gives users the ability to load in data, run the Bchron MCMC model, run predictions and plots, and look at event ages.

Usage

Bchronmenu()

Arguments

Details

The Bchron menu system first creates a Bchrondata object with fields for the the input and output files, the name of the core being used, the details of the calibration curve, and details of the model run required. Using the menu system bypasses the need to create these objects. This function is essentially a shell for calling Bchronload, Bchroncalibrate, BchronMCMC, Bchronpredict and Bchronplot.

References

Haslett and Parnell (2008, JRSSC, 57:399-418) and Parnell et al (2008, QSR, 27(19-20):1872-1885)

See Also

See Bchronload, Bchroncalibrate, BchronMCMC, Bchronpredict, Bchronplot, Bchronpredictevent, Bchronplotevent.

Examples

Run this code
# For the example data, the following should run (when the files are placed in the default directory in windows; c:/Bchron)
# myrun <- Bchronload("Glendalough")
# Bchroncalibrate(myrun)
# BchronMCMC(myrun)
# Bchronpredict(myrun)
# Bchronplot(myrun)

Run the code above in your browser using DataLab