Create a multi-model ensemble

createMultiModelEnsemble(
  L,
  depth.var = "depth",
  age.var = "ageEnsemble",
  models.to.combine,
  chron.num = 1,
  depth.interval = 10,
  depth.seq = NA,
  ens.table.number = 1,
  n.ens = 1000
)

Arguments

L

A lipd object containing the ensembles you want to combine

depth.var

What is the variable name of the ensemble depth vector? Must be the same for all models.

age.var

What is the variable name of the chronEnsemble? Must be the same for all models.

models.to.combine

2 or more integers that correspond to the chronData model objects you want to combine into an ensemble

chron.num

an integer that corresponds to number of the chronData object (L$chron[[?]])

depth.interval

The depth spacing that you want the new ensemble to be interpolated to.

depth.seq

Optionally specify a depth sequence overwhich to create the new ensemble

ens.table.number

What ensemble table number should we pull the data from (default = 1)

n.ens

How many ensembles should be included in the final model? The amount from each contributing model will be equal (or very nearly so if it's not evenly divisible)

Value

A lipd object with a new chron model that contains your multimodel ensemble.