allen_relate_phases: Relate two or more phases

View source: R/dataframe.R

allen_relate_phasesR Documentation

Relate two or more phases

Description

Reads MCMC output to create a dataframe suitable for plotting the Allen relations between two or more phases.

Usage

allen_relate_phases(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.

Value

A dataframe suitable for plotting with graph

Author(s)

Thomas S. Dye

See Also

allen_composite_relation


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