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
#' @author Alexander Kheiralah ([email protected])
#' @return 

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