Reads MCMC output.
Usage
read_bcal(file, ...)
# S4 method for class 'character'
read_bcal(file, bin_width = 1, calendar = BP())Arguments
- file
A
characterstring giving the name of the CSV file which the data are to be read from.- ...
Currently not used.
- bin_width
The bin width specified for the BCal calibration. Defaults to the BCal default of 1.
- calendar
A
aion::TimeScaleobject specifying the calendar (seeaion::calendar()). It should beaion::BP()unless you change the default settings in 'BCal'.
Value
An EventsMCMC object.
References
Buck C. E., Christen J. A. & James G. N. (1999). BCal: an on-line Bayesian radiocarbon calibration tool. Internet Archaeology, 7. doi:10.11141/ia.7.1 .
See also
Other read methods:
as_coda(),
as_events(),
as_phases(),
check,
read_chronomodel,
read_oxcal()
Examples
if (requireNamespace("ArchaeoData", quietly = TRUE)) {
## Construct the path to the data
path_output <- system.file("bcal", "fishpond.csv", package = "ArchaeoData")
## Import BCal Output
(bcal <- read_bcal(path_output))
}
#> <EventsMCMC>
#> - Number of events: 10
#> - Number of MCMC samples: 55964