Learn R Programming

ArchaeoPhases (version 1.8)

reproduce.archaeophases_mcmc: Reproduce an MCMC data frame

Description

Reproduces a data frame from metadata held in an archaeophases_mcmc object. Returns NULL if file is not the original file.

Usage

# S3 method for archaeophases_mcmc
reproduce(x, file = NULL, ...)

Arguments

x

An archaeophases_mcmc object.

file

A path to the original MCMC csv file, or a copy of the file.

...

Other parameters.

See Also

original_file

Examples

Run this code
# NOT RUN {
x <- read_bcal("http://tsdye.online/AP/bc-1.csv")
y <- reproduce(x)
# TRUE
identical(x, y)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab