Skip to contents

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.

Value

A cql object.

Details

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

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)
  ))
)
#>  // CQL2 generated by stratigraphr v0.3.0.9000
#>  Sequence("Sequence A")
#>  {
#>   R_Date("ABC-001", 10100, 50);
#>   R_Date("ABC-002", 10200, 50);
#>   R_Date("ABC-003", 10300, 50);
#>  };