read_oxcal | R Documentation |
Import a CSV file containing the output of the MCMC algorithm produced by OxCal.
read_oxcal(file, quiet = "no")
file |
Either a path to a CSV file, a connection,
or the value |
quiet |
One of "no" (default) to allow messages and warnings, "partial" to suppress messages and allow warnings, or "yes" to suppress messages and warnings. |
The read_oxcal
function is built on read_csv
.
It aims to be fast and simple, and to return the marginal posteriors free
of extraneous artifacts. The iteration column in the CSV file is discarded,
as is an empty last column.
An archaeophases_mcmc
object containing the marginal
posterior(s) as a data frame, or NULL if file
is not found.
Thomas S. Dye, tsd@tsdye.online
read_csv
ImportCSV
## Not run: # Import of MCMC output from OxCal data(Events) #To do for saving in csv file # write.csv(Events, "events.csv", row.names = FALSE) fishpond <- read_oxcal("events.csv") # Read from connection oxc <- read_oxcal("http://tsdye.online/AP/ox.csv") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.