original_file {ArchaeoPhases}R Documentation

Check for an original mcmc file

Description

Checks whether or not a file is identical to the one used to create an archaeophases_mcmc object.

Usage

original_file(x, ...)

Arguments

x

An archaeophases_mcmc object.

...

Either a path to a CSV file, a connection, or the value clipboard() to read from the system clipboard. The CSV file can be compressed or plain.

Value

A boolean, TRUE if the files match, FALSE otherwise.

Author(s)

Thomas S. Dye, tsd@tsdye.online

Examples

## Not run: 
rem <- read_chronomodel("http://tsdye.online/AP/cm/Chain_all_Events.csv")
original_file(rem, "http://tsdye.online/AP/cm/Chain_all_Events.csv")

## End(Not run)


[Package ArchaeoPhases version 1.5 Index]