CV: compute CV for each row in matrix

Description Usage Arguments Examples

Description

Typically used to create and violin plot

Usage

1
CV(data, top = 30, na.rm = TRUE)

Arguments

data

matrix

top

remove top (default 30) CV

na.rm

default TRUE

Examples

1
2
3
4
5
6
dat <- matrix(rnorm(1000,10,5), ncol=20)
dim(dat)
cv <- CV(dat, top=5)
length(cv)
stopifnot(length(cv) == 45)
hist(cv)


Search within the quantable package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.