| aggregate_matrix | R Documentation | 
Aggregate matrix over groups
aggregate_matrix(x, groups = NULL, fun = "mean")
| groups | A character vector with the groups to aggregate over. | 
| fun | The summary function to be applied to each group. | 
A summary matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.