rowSds | R Documentation |
Row variance and standard deviation of a numeric array
rowVars(x, ...)
rowSds(x, ...)
x |
An array of two or more dimensions, containing numeric, complex, integer or logical values, or a numeric data frame. |
... |
Further arguments that get passed on to
|
These are very simple convenience functions, the main work is done in
rowMeans
and rowSums
. See the function
definition of rowVars
, it is very simple.
A numeric or complex array of suitable size, or a vector if the result is one-dimensional. The ‘dimnames’ (or ‘names’ for a vector result) are taken from the original array.
Wolfgang Huber http://www.ebi.ac.uk/huber
rowMeans
and rowSums
a = matrix(rnorm(1e4), nrow=10)
rowSds(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.