cql_sequence: Describe an ordered group in CQL

View source: R/cql.R

cql_sequenceR Documentation

Describe an ordered group in CQL

Description

The CQL command Sequence is used to describe an ordered group of events in a model. Specific types of sequence, i.e. D_Sequence, P_Sequence, U_Sequence, and V_Sequence, are not yet implemented in stratigraphr.

Usage

cql_sequence(name, cql, boundaries = FALSE)

cql_d_sequence()

cql_p_sequence()

cql_u_sequence()

cql_v_sequence()

Arguments

name

Character. Label for the sequence.

cql

Vector of cql objects contained in the sequence.

boundaries

Logical. If TRUE, adds Boundary constraints between each item in the sequence.

Details

OxCal expects events within sequences to be in chronological order (oldest to youngest) not stratigraphic order (youngest to oldest).

Value

A cql object.

References

https://c14.arch.ox.ac.uk/oxcalhelp/hlp_commands.html

See Also

Other CQL functions: cql_boundary(), cql_n(), cql_options(), cql_other, cql_phase(), cql_r_date(), cql(), write_oxcal()

Examples

cql(
  cql_sequence("Sequence A", c(
    cql_r_date("ABC-001", 10100, 50),
    cql_r_date("ABC-002", 10200, 50),
    cql_r_date("ABC-003", 10300, 50)
  ))
)

joeroe/stratigraphr documentation built on May 17, 2023, 9:52 p.m.