Last chance! 50% off unlimited learning
Sale ends in
Form row variances for numeric arrays.
rowVars(x, ...)
an array of two or more dimensions, containing numeric, complex, integer or logical values, or a numeric data frame.
~~Describe …
here~~
A numeric or complex array of suitable size, or a vector if the result is one-dimensional.
This function is equivalent tu use of apply with FUN = var with MARGIN = 1, but is a lot faster.