50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


anapuce (version 2.3)

rowVars: Form row variances

Description

Form row variances for numeric arrays.

Usage

rowVars(x, ...)

Arguments

x

an array of two or more dimensions, containing numeric, complex, integer or logical values, or a numeric data frame.

~~Describe here~~

Value

A numeric or complex array of suitable size, or a vector if the result is one-dimensional.

Details

This function is equivalent tu use of apply with FUN = var with MARGIN = 1, but is a lot faster.

See Also

rowSums, rowMeans, apply