gammaEpi: Calculate the Gamma Function of Disease Number of Cases

Description Usage Arguments Value Examples

Description

Given a matrix or vector of integers with monthly/weekly/daily number of disease cases calculate for each spatial region, the Γ function of this matrix/vector. This is done to save computational time during the MCMC procedure: the Γ function of the number of cases is needed when evaluating the maximum likelihood.

Usage

1
gammaEpi(epi = NULL)

Arguments

epi

A nperiods x nregions matrix of integers with monthly/weekly/daily number of disease cases for each region

Value

gamaepi A matrix of nperiods x nregions with the Γ function of monthly/weekly/daily number of disease cases in each region

Examples

1
2
gammaEpi{epi = mydata$model$epi$}
gammaEpi{epi = mydata$fit$epi$  }

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