Sequence: Returns the Oxcal code for Sequence

Description Usage Arguments Value

View source: R/parsing_functions.R

Description

Sequence takes a set of Phases or R_Dates as vectors, and returns a bit of oxcal code that can be used to feed it into OxCal. In this code the Phases and/or 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
Sequence(sequence_elements, names = "")

Arguments

sequence_elements

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

names

a optional vector of names for the resulting Sequences

Value

a string containing the respective Oxcal code


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