Loads the ensemble, summary and distribution data from a Bacon simulation and stores them in the LiPD structure. Will be run in interactive mode if necessary parameters aren't specified. Most users will want to use runBacon for their bacon needs.

loadBaconOutput(
  L,
  site.name = L$dataSetName,
  K = NA,
  chron.num = NA,
  bacon.dir = NA,
  model.num = NA,
  make.new = NA,
  max.ens = 1000
)

Arguments

L

A LiPD object - an R serialization of a single LiPD file. It's a list, and is typically created by `readLipd()`

site.name

the name used for the bacon model (and directories)

K

The bacon K parameter (number of segments to model)

chron.num

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

bacon.dir

the directory where Bacon is installed on this computer.

model.num

chron.numModel do you want to use?

make.new

do you want to create a new model in chronData? (TRUE, FALSE, NA). NA will try be smart, or ask you for advice.

max.ens

The maximum number of ensembles to export

Value

L the input LiPD file with methods and data added to the chronModel.

See also

Author

Nick McKay

Examples

if (FALSE) { # \dontrun{
loadBaconOutput(L)
#Run in interactive mode
} # }