reproduce.archaeophases_plot {ArchaeoPhases} | R Documentation |
Reproduces a plot from metadata held in an archaeophases_plot
object. Returns NULL if file
is not the original file.
## S3 method for class 'archaeophases_plot'
reproduce(x, file = NULL, ...)
x |
An |
file |
Path to the original MCMC csv file, or a copy of the file. |
... |
Other parameters. |
Thomas S. Dye, tsd@tsdye.online
## Not run:
x <- read_bcal("http://tsdye.online/AP/bc-1.csv")
y <- multi_dates_plot(x)
z <- reproduce(y)
# TRUE
identical(y, z)
#ERROR, Not the original file.
z <- reproduce(y, file = "foo.csv")
## End(Not run)