comb_cv: combined adjusted coefficient of variation

Description Usage Arguments Value Examples

View source: R/comb_cv.R

Description

Calculates the sum of the column standard devation divided by the sum of the column mean and a small value to avoid dividing by 0 (eps)

Usage

1
comb_cv(X, eps = 1e-04)

Arguments

X

data.frame or matrix of numeric data

eps

small value to add to the mean to avoid dividing by 0; defaults to 1e-4

Value

returns the sum of the coefficients of variation for all columns of X

Examples

1
comb_cv( data.frame( test1=rep(0,5), test2=c(0.2,0.3,0.35,0.27,0.21) ) )

RNAdecay documentation built on Nov. 8, 2020, 5:52 p.m.