rowSds: Row variance and standard deviation of a numeric array

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/rowSds.R

Description

Row variance and standard deviation of a numeric array

Usage

1
2

Arguments

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 rowMeans and rowSums.

Details

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.

Value

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.

Author(s)

Wolfgang Huber http://www.ebi.ac.uk/huber

See Also

rowMeans and rowSums

Examples

1
2
   a = matrix(rnorm(1e4), nrow=10)
   rowSds(a)

Example output

 [1] 1.0184274 0.9750450 0.9907716 0.9996612 1.0148341 1.0058221 0.9772594
 [8] 1.0264935 0.9853330 0.9986412

genefilter documentation built on Jan. 23, 2021, 2:01 a.m.