hhh4contacts (version 0.13.1)

plotHHH4_fitted_groups: Plot Mean Components of a hhh4 Fit by Group

Description

Fitted mean components for age-structured, areal time series hhh4 models can be aggregated over districts or age groups.

Usage

plotHHH4_fitted_groups(x, groups, total = FALSE, decompose = NULL, ...)

Value

see plotHHH4_fitted.

Arguments

x

an object of class "hhh4".

groups

a factor of grouping the units in the model, i.e., it must be of length x$nUnit. There will be one plot for each factor level.

total

a logical indicating if the group-wise mean components should be subsequently summed up over all groups for an overall plot.

decompose, ...

see plotHHH4_fitted.