Learn R Programming

ArchaeoPhases (version 1.8)

original_file.archaeophases_plot: Check for an original archaeophases_plot file

Description

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

Usage

# S3 method for archaeophases_plot
original_file(x, file = NULL, ...)

Arguments

x

An archaeophases_plot object.

file

Either a path to a plot file, a connection, or the value clipboard() to read from the system clipboard.

...

Other parameters.

Value

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

Details

If called with a single argument, checks the file indicated by the file_path attribute.