Writes a CQL script (from cql()) to an .oxcal file, for input to OxCal.
Arguments
- cql
A
cqlobject. Seecql().- file
Path to a file.
See also
Other CQL functions:
cql(),
cql_boundary(),
cql_n(),
cql_options(),
cql_other,
cql_phase(),
cql_r_date(),
cql_sequence()
Examples
script <- cql(
cql_r_date("ABC-001", 10100, 50),
cql_r_date("ABC-002", 10200, 50)
)
write_oxcal(script, "script.oxcal")