read_14c | R Documentation |
Reads the .14c and .f14c formats used for radiocarbon calibration curves and returns a c14_curve object.
For most files, only the first argument needs to be supplied. Further arguments can be used if the file does not follow the conventional format.
read_14c(
file,
format = c("14c", "f14c"),
delim = NA,
cal_era = "cal BP",
col_names = switch(format, `14c` = c("cal_age", "c14_age", "c14_error", "d14c",
"d14c_error"), f14c = c("cal_age", "f14c", "f14c_error"))
)
file |
Path, connection, or URL of a calibration curve file, typically with the extension .14c or .f14c. |
format |
|
delim |
Character used to separate fields. If |
cal_era |
Character label or era::era object describing the time scale
used in the calibration curve's |
col_names |
Vector of column names specifying the order of fields in the
file. If not supplied, they are assumed to be in the usual order. Must
contain all of the following elements, depending on the value of
See |
A c14_curve object.
Other calibration curve functions:
c14_curve()
read_14c("https://intcal.org/curves/intcal20.14c")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.