Description Usage Arguments Details Value See Also Examples
Tabulates the values in a matrix-like object by row (column).
1 2 3 4 5 |
x |
An NxK matrix-like object. |
rows |
A |
cols |
A |
values |
the values to search for. |
The S4 methods for x of type matrix,
array, or numeric call
matrixStats::rowTabulates
/ matrixStats::colTabulates.
a numeric NxJ (KxJ)
matrix, where N (K) is the number of rows (columns) for
which the J values are calculated.
matrixStats::rowTabulates() and
matrixStats::colTabulates() which
are used when the input is a matrix or numeric vector.
base::table()
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.