colVars: The function calculates the variance of each column of your...

Description Usage Arguments Value Author(s) See Also Examples

Description

The function calculates the variance of each column of your data table

Usage

1

Arguments

X

A data.frame or matrix you want to calculate the variance of each column

Value

A vecotor of variance of each column.

Author(s)

Ting Li, Xia Shen

See Also

colSums colMeans

Examples

1
2
3
df <- matrix(rnorm(10,0,1),5,2)
df
res <- colVars(df)

xiashen/sysubiostat documentation built on Aug. 30, 2020, 12:05 a.m.