plot_lattice: Plot a Nökel lattice

View source: R/plot.R

plot_latticeR Documentation

Plot a Nökel lattice

Description

Reads MCMC output and plots a Nökel lattice.

Usage

plot_lattice(mcmc, phases_1, phases_2, app = "bcal", quiet = "partial", ...)

Arguments

mcmc

path to a csv file with MCMC output

phases_1

list of three-element vectors, the first element of which is the phase name and the second and third elements are the column indices for the beginning and end of the phase, respectively

phases_2

list of three-element vectors, the first element of which is the phase name and the second and third elements are the column indices for the beginning and end of the phase, respectively

app

one of 'bcal', 'oxcal', or 'chronomodel' to specify which Bayesian calibration application produced the MCMC output

quiet

One of 'no' to allow messages and warnings, 'partial' (default) to suppress messages and allow warnings, or 'yes' to suppress messages and warnings.

...

Named arguments to be passed on to allen_plot().

Value

A layout_tbl_graph object.

Author(s)

Thomas S. Dye

Examples


# Plot to the R graphics device
# plot_lattice()

# Save layout_tbl_graph object to a variable
# then plot to the R graphics device

# foo <- plot_lattice()
# foo


tsdye/allen.archaeology documentation built on April 6, 2023, 10:12 a.m.