fit.user.data: Fit User Provided Incidence

Description Usage Arguments Value Examples

View source: R/fit_user_data_fxns.R

Description

fit.user.data fits and forecasts user provided incidence using an MCMC procedure and a compartmental S-I-R orr S-E-I-R model

Usage

1
2
fit.user.data(mydata = NULL, par_names = NULL, opt.list = NULL,
  run.list = NULL, iseed = NULL)

Arguments

mydata

The DICE data list

par_names

Array with the DICE parameter names

opt.list

Array with TRUE/FALSE for each f the parameters

run.list

A list with MCMC parameters

iseed

Integer - seed for RNG. Default is NULL

Value

results A list with all the MCMC fitting/forecasting results and the input mydata list

Examples

1
2
results <- fit.user.data(mydata = mydata, par_names = par_names, 
opt.list = opt.list, run.list = run.list, iseed = 12345)	

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