loadBaconOutput: Load the ensemble, summary and distribution data from a Bacon...

View source: R/bacon.lipd.R

loadBaconOutputR Documentation

Load the ensemble, summary and distribution data from a Bacon simulation

Description

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.

Usage

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.

Author(s)

Nick McKay

See Also

Other Bacon: getBaconDir(), runBacon(), sampleBaconAges(), setBaconDir(), writeBacon()

Examples

## Not run: 
loadBaconOutput(L)
#Run in interactive mode

## End(Not run)

nickmckay/GeoChronR documentation built on April 9, 2024, 5:26 a.m.