calcCPLRandomProfiles: Calculate Coupled Incidence Disease Profiles

Description Usage Arguments Value Examples

View source: R/dice.R

Description

Given an array with the MCMC history of a coupled DICE run randomly choose sets of parameters and use them to create disease incidence profiles for the fit regions. The code works on the level of the coupled fit regions.

Usage

1
2
calcCPLRandomProfiles(mydata = NULL, tab = NULL, tab.cpl = NULL,
  Rij = NULL, tps = NULL, nRnd = 100)

Arguments

mydata

A list with the entire data available for this DICE run

tab

The MCMC history of an indirect fit of the model using a coupled model This array includes all the parameters except the two that define the coupling matrix.

Rij

A 2D array with the Euclidean distances between the centroids of regions i and j

tps

A numeric array of days for the disease season

nRnd

Integer - the number of random profiles that will be calculated. (Default is 100)

Value

profile a 3D array with each row holding nRnd profiles for each of the fit regions.

Examples

1
2
calcRandomProfiles{mydata = mydata, tab = tab, tab.cpl = tab.cpl, Rij = Rij,
tps = tps, nRnd = 100}

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