reproduce.archaeophases_mcmc: Reproduce an MCMC data frame

View source: R/S3Classes.R

reproduce.archaeophases_mcmcR Documentation

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 class '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.

Author(s)

Thomas S. Dye, tsd@tsdye.online

See Also

original_file

Examples

## Not run: 
x <- read_bcal("http://tsdye.online/AP/bc-1.csv")
y <- reproduce(x)
# TRUE
identical(x, y)

## End(Not run)


ArchaeoPhases documentation built on June 22, 2022, 1:05 a.m.