Description Usage Arguments Details Value See Also Examples
Calculates for each row (column) a summary statistic for equally sized subsets of columns (rows)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
X |
An |
W |
An optional numeric |
cols |
A |
S |
An integer |
FUN |
A row-by-row (column-by-column) summary statistic function. It is
applied to to each column (row) subset of |
... |
Additional arguments passed to |
na.rm |
(logical) Argument passed to |
tFUN |
If |
rows |
A |
**Note**: the handling of missing parameters differs from [matrixStats::colAvgsPerRowSet()]. The 'matrixStats' version always removes ‘NA'’s if there are any in the data. This method however does whatever is passed in the '...' parameter.
Returns a numeric JxN
(MxJ
) matrix.
matrixStats::rowAvgsPerColSet()
and matrixStats::colAvgsPerRowSet()
which are used when the input is a matrix
or numeric
vector.
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.