Description Usage Arguments Value Examples
Reproduced from David Arenburg's answer here: https://stackoverflow.com/questions/25099825/row-wise-variance-of-a-matrix-in-r
1 |
x |
N by P numeric matrix |
dim |
dimension along which to compute variance (1 == row, 2 == col) |
... |
(optional) arguments for rowSums/colMeans calls (e.g., na.rm) |
a vector containing the variances
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.