Skip to contents

The CQL command Phase is used to describe an unordered group of events in a model.

Usage

cql_phase(name, cql)

Arguments

name

Character. Label for the phase.

cql

Vector of cql objects contained in the phase.

Value

A cql object.

See also

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

Examples

cql(
  cql_phase("Phase 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
#>  Phase("Phase A")
#>  {
#>   R_Date("ABC-001", 10100, 50);
#>   R_Date("ABC-002", 10200, 50);
#>   R_Date("ABC-003", 10300, 50);
#>  };