Description Usage Arguments Author(s)
The (age) groups of a contact matrix can be joined together by the
grouping
argument, which first sums over contact groups (columns) and
then averages over the corresponding participant groups (rows), optionally
using weights such as the age distribution of the study participants.
1 
C 
a square numeric contact matrix such as

grouping 
specification of how to aggregate groups (a named list or
an integer vector of group sizes) using 
... 
specification of how to aggregate groups (alternative to using a
named list as the 
weights 
a named numeric vector containing the weights for the rows of

Sebastian Meyer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.