rowVars {anapuce} | R Documentation |
Form row variances for numeric arrays.
rowVars(x, ...)
x |
an array of two or more dimensions, containing numeric, complex, integer or logical values, or a numeric data frame. |
... |
~~Describe ... here~~ |
This function is equivalent tu use of apply with FUN = var with MARGIN = 1, but is a lot faster.
A numeric or complex array of suitable siez, or a vector if the result is one-dimensional.