Aggregate the elements of a contactmatrix_list
Source: R/S3-contactmatrix_list.R
aggregate.contactmatrix_list.Rd
Aggregate the elements of a contactmatrix_list
into a single
contact_matrix
Usage
# S3 method for class 'contactmatrix_list'
aggregate(x, by, FUN = mean, ...)
Value
A contact_matrix
with the same groupings and same groups (in
practice, same dimnames()
) as all elements of the original
contactmatrix_list
x
.