Sequence: Returns the Oxcal code for Sequence

View source: R/parsing_functions.R

SequenceR Documentation

Returns the Oxcal code for Sequence

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

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


ISAAKiel/oxcAAR documentation built on Sept. 25, 2022, 5:07 a.m.