read_bcal: Read BCal Output

read_bcalR Documentation

Read BCal Output

Description

Reads MCMC output.

Usage

read_bcal(file, ...)

## S4 method for signature 'character'
read_bcal(file, bin_width = 1, calendar = BP())

Arguments

file

A character string 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::TimeScale object specifying the calendar (see calendar()). It should be BP() unless you change the default settings in 'BCal'.

Value

An EventsMCMC object.

Author(s)

T. S. Dye, N. Frerebeau

References

Buck C. E., Christen J. A. & James G. N. (1999). BCal: an on-line Bayesian radiocarbon calibration tool. Internet Archaeology, 7. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.11141/ia.7.1")}.

See Also

utils::read.table()

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))
}

ArchaeoStat/ArchaeoPhases documentation built on Jan. 19, 2025, 2:33 p.m.