R/CV.R

Defines functions CV

Documented in CV

#' Compute coefficient of variance (CV)
#' 
#' CV makes comparison of variation comparable regardless of scale and mean
#' 
#' @param mean A numeric mean
#' @param sd A numeric standard deviation. Can be computed with sd() function
#' @return A numeric CV
#' @return 

CV <- function(mean, sd){ # to be added to bioinformaticFunctions
  (sd/mean)*100
}
msxakk89/dat documentation built on Aug. 3, 2020, 6:39 p.m.