Phase: Returns the Oxcal code for Phase

Description Usage Arguments Value

View source: R/parsing_functions.R

Description

Phase takes a set of R_Dates as vectors, and returns a bit of oxcal code that can be used to feed it into oxcal. In this code the R_Dates are encapsulated in an OxCal Phases, one Phase for each string. For details concerning the Oxcal simulation please consult the help page of Oxcal.

Usage

1
Phase(r_dates_strings, names = "")

Arguments

r_dates_strings

a vector containing strings of OxCal code, usually consisting of R_Date commands, but any other code strings might be used that can be interpreted by OxCal within a Phase

names

a optional vector of names for the resulting Phases

Value

a string containing the respective Oxcal code


oxcAAR documentation built on July 6, 2021, 1:06 a.m.