plotUserDataMECH: Plot Mechanistic Results of Fitting/Forecasting User...

Description Usage Arguments Value Examples

View source: R/fit_user_data_fxns.R

Description

plotUserDataMECH Creates a PDF or PNG file with the results of the MCMC fits to incidence data

Usage

1
2
plotUserDataMECH(mydata = NULL, tables.mod = NULL, mod_id = NULL,
  ireal = 1, run.list = NULL, idevice = 1)

Arguments

mydata

- dataframe with all the data for this DICE run

tables.mod

- a table with the data and the results for the model fit. It includes the mean and the 5-95% percentile (as well as the error)

mod_id

The abbreviation of the states/regions-model level

ireal

- Numeric, the number of the MCMC chain, default is 1

idevice

Integer the index in the device array, default is 1

Value

err=0 if plots were created

Examples

1
2
plotUserDataMECH(mydata = mydata, tables.mod = tables.mod,
mod_id = mod_id, ireal = ireal, run.list = run.list, idevice = 1)

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