allen_composite_relation: Calculate the composite relation of two phases

View source: R/dataframe.R

allen_composite_relationR Documentation

Calculate the composite relation of two phases

Description

Uses the Allen algebra to infer the relation of two phases from their relation to a third phase.

Usage

allen_composite_relation(
  mcmc,
  phases,
  title = c("first", "second"),
  app = "bcal",
  quiet = "partial"
)

Arguments

mcmc

path to a csv file with MCMC output

phases

a vector with six column indices representing the start and end chains of three phases. The composite relation of the first and third phases will be inferred based on their relation to the second phase.

title

a plot title

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 for input to allen_plot()

See Also

allen_relate_phases


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