Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rowCVs

rowCVs


Description

rowCVs returns CV for values in each row (using speed optimized standard deviation). Note : NaN values get replaced by NA.

Usage

rowCVs(dat, autoconvert = NULL)

Arguments

dat

(numeric) matix

autoconvert

(NULL or character) allows converting simple vectors in matrix of 1 row (autoconvert="row")

Value

(numeric) vector with CVs for each row of 'dat'

See Also

Examples

set.seed(2016); dat1 <- matrix(c(runif(200)+rep(1:10,20)),ncol=10)
head(rowCVs(dat1))

wrMisc

Analyze Experimental High-Throughput (Omics) Data

v1.5.4
GPL-3
Authors
Wolfgang Raffelsberger [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.