Generate an oxcal Age Model from Oxcal model code, then add it into a LiPD object

runOxcalModel(
  L,
  model.text,
  model.num = NA,
  chron.num = NA,
  oxcal.path = "~/OxCal/",
  overwrite = TRUE,
  max.ens = 1000
)

Arguments

L

a LiPD object

model.text

a character vector of the model input

model.num

chron.numModel do you want to use?

chron.num

the number of the chronData object that you'll be working in

oxcal.path

path to oxcal binaries

overwrite

overwrite the previous run

max.ens

the maximum number of ensembles to load in (default = 1000)

Value

a LiPD object