powered by
geometric coefficient of variation (CV for log transformed data) Typically used to create and violin plot
CVlog(data, top = 30)
matrix
remove top (default 30) CV
CV
# NOT RUN { dat <- matrix(rnorm(1000,10,5), ncol=20) dim(dat) cv <- CVlog(dat, top=5) length(cv) stopifnot(length(cv) == 45) hist(cv) # }
Run the code above in your browser using DataLab