plotMECH: Plot Mechanistic Results of Fitting/Forecasting the Disease...

Description Usage Arguments Value Examples

View source: R/plot_fxns.R

Description

plotMECH Creates a PDF file with the results of the MCMC fits to the model and the fit level data

Usage

1
2
3
plotMECH(mydata = NULL, tables.mod = NULL, tables.fit = NULL,
  tables.agg.mod = NULL, mod_id = NULL, fit_id = NULL,
  ymax.input = NULL, ireal = NULL, 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)

tables.fit

- Optional a table with the data and the results for the fits at the fit_level. It includes the mean and the 5-95% percentile (as well as the error)

tables.agg.mod

- Optional. A table with the aggregate of the uncoupled fit_level results present only in the case of an uncoupled run

mod_id

The abbreviation of the states/regions-model level

fit_id

The abbreviation of the states/regions-fit level

ymax.input

Optional, Maximum value for y-axis in plots (numeric)

ireal

- Numeric, the number of the MCMC chain

Value

err=0 if plots were created

Examples

1
2
plotMECH(mydata = mydata, tables.mod = tables.mod, tables.fit = NULL,
mod_id = mod_id, fit_id = fit_id, ymax.input = NULL, ireal = ireal)

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