Skip to contents

Writes a CQL script (from cql()) to an .oxcal file, for input to OxCal.

Usage

write_oxcal(cql, file)

Arguments

cql

A cql object. See cql().

file

Path to a file.

Value

Returns cql invisibly.

Examples

script <- cql(
  cql_r_date("ABC-001", 10100, 50),
  cql_r_date("ABC-002", 10200, 50)
)
write_oxcal(script, "script.oxcal")