read_chronomodel | R Documentation |
Reads MCMC output.
read_chronomodel_events(file, ...)
read_chronomodel_phases(file, ...)
## S4 method for signature 'character'
read_chronomodel_events(file, calendar = CE(), sep = ",", dec = ".")
## S4 method for signature 'character'
read_chronomodel_phases(file, calendar = CE(), sep = ",", dec = ".")
file |
A |
... |
Currently not used. |
calendar |
A |
sep |
A |
dec |
A |
An EventsMCMC
or a PhasesMCMC
object.
T. S. Dye, N. Frerebeau
Lanos, Ph., Philippe, A. & Dufresne, Ph. (2015). Chronomodel: Chronological Modeling of Archaeological Data using Bayesian Statistics. URL: https://chronomodel.com/.
utils::read.table()
Other read methods:
as_coda()
,
as_events()
,
as_phases()
,
check
,
read_bcal()
,
read_oxcal()
if (requireNamespace("ArchaeoData", quietly = TRUE)) {
## Construct the paths to the data
path <- file.path("chronomodel", "ksarakil")
path_events <- system.file(path, "Chain_all_Events.csv", package = "ArchaeoData")
path_phases <- system.file(path, "Chain_all_Phases.csv", package = "ArchaeoData")
## Import ChronoModel events
(chrono_events <- read_chronomodel_events(path_events))
## Import ChronoModel phases
(chrono_phases <- read_chronomodel_phases(path_phases))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.