Learn R Programming

Bchron (version 3.2)

Bchronpredictevent: Predict ages of events in a core

Description

Estimates and plots the ages of specific depths, slices or events in a Bchron core. Useful for event identification.

Usage

Bchronpredictevent(Bchrondata, event = "Event", numchron = 10000)

Arguments

Bchrondata
A Bchron data 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. See Bchronload and
event
An event name. Must have an associated corenameeventdepthseventname.txt file associated with it.
numchron
The number of chronologies required. Default is 10,000.

Value

  • A file CorenameEventAgesEventName.txt will be created in the output directory giving extra information on the ages of the event.

Details

For each event, the user will need to create a file of the desired depths intervals for which the ages are required. These depths are to be put the files in the input directory in a file named CorenameEventDepthsEventname.txt where Corename is the name of the core and Eventname is the name of the event (eg GlendaloughEventDepthsUlmusDecline.txt). The format of the file should look like the following: 261 265 267 269 271 282 This formulation allows for uncertainty in the depths at which the event occurred.

References

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

See Also

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)
# Bchronpredictevent(myrun,event="Alnus")
# Bchronplotevent(myrun,event="Alnus",eventname="Alnus rise")

Run the code above in your browser using DataLab