Phase: Returns the Oxcal code for Phase

View source: R/parsing_functions.R

PhaseR Documentation

Returns the Oxcal code for Phase

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

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


MartinHinz/roxcal documentation built on Sept. 25, 2022, 4:04 p.m.