comb_cv: combined adjusted coefficient of variation

View source: R/comb_cv.R

comb_cvR Documentation

combined adjusted coefficient of variation

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

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

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

reedssorenson/RNAdecay documentation built on Oct. 28, 2023, 11:31 a.m.