Description Usage Arguments Value Author(s) Examples
A utility that is equivalent to rowsum
, but computes the mean instead of the sum of each subset of rows.
1 |
x |
A numeric matrix or matrix-like object. |
group |
A vector or factor specifying the group assignment for each row of |
... |
Further arguments to pass to |
A numeric matrix with one row per level of group
,
where the value for each column contains the average value across the subset of rows corresponding that level.
Aaron Lun
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.