saveProfilesOnePatch: Save the profiles for Model region Save the profiles for...

Description Usage Arguments Value Examples

View source: R/write_fxns.R

Description

Save the profiles for Model region Save the profiles for Model region so that incidence plot can be re-created

Usage

1
2
3
saveProfilesOnePatch(mydata = NULL, model_rtn = NULL,
  model_profile = NULL, model_profileB = NULL, ireal = 1,
  run.list = NULL)

Arguments

mydata

A dataframe with all the data available for this DICE run

model_rtn

A 1D numeric array with the best direct prediction to the model region

model_profile

A 2D numeric array with randomly chosen predicted profiles obtained by fitting the model region directly.

model_profileB

A 2D numeric array with randomly chosen predicted profiles for the Bacteria obtained by fitting the model region directly. Relevant only in the case of an SIRB model

ireal

Integer - the MCMC chain number

run.list

A list with various run parameters

Value

Returns err = 0 if successful

Examples

1
2
saveProfilesOnePatch{ mydata = mydata, model_rtn = model_rtn, model_profile = model_profile,
model_profileB = model_profileB, ireal = ireal, run.list = run.list}	

predsci/DICE documentation built on Aug. 9, 2019, 9:41 a.m.