Learn R Programming

ArchaeoPhases (version 1.8)

original_file: 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.

Examples

Run this code
# 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")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab