rowVars {anapuce}R Documentation

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~~

Details

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

Value

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

See Also

rowSums, rowMeans, apply


[Package anapuce version 2.1 Index]