Description Usage Arguments Details Author(s)
The functions documented here are considered internal,
i.e., not intended to be called by the user. They are used by
addon packages dealing with hhh4
models.
1 2 3 4  meanHHH(theta, model, subset = model$subset, total.only = FALSE)
sizeHHH(theta, model, subset = model$subset)
decompose.hhh4(x, coefs = x$coefficients, ...)

theta,coefs 
numeric vector of model parameters. 
model 
the model terms as returned by the

subset 
vector of time points for which to compute the component
means. Defaults to the fitted time range. For 
total.only 
logical. Should only the total mean (epidemic +
endemic) be returned in a 
x 
a fitted 
... 
unused. 
meanHHH
computes the components of the mean returned in
length(subset)
x nUnit matrices.
sizeHHH
computes the model dispersion in dnbinom
(mu
, size
) parametrization (it returns NULL
in
the Poisson case).
decompose.hhh4
decomposes the fitted mean (extracted via
meanHHH
) in an array with dimensions (t, i, j), where the
first j index is "endemic"
.
Michaela Paul and Sebastian Meyer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.