plotHHH4_fitted_groups: Plot Mean Components of a 'hhh4' Fit by Group

plotHHH4_fitted_groupsR Documentation

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, ...)

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.

Value

see plotHHH4_fitted.


hhh4contacts documentation built on Oct. 8, 2024, 1:08 a.m.