View source: R/coefvariation.R
cvlog | R Documentation |
Computes the coefficient of variation (CV) after log-transformation of the provided data
cvlog(x, na.rm)
x |
a numeric vector with values that are NOT log-transformed |
na.rm |
logical, if TRUE then NA values are stripped from x before computation takes place |
numeric vector of length one. If x contains a zero, then NaN is returned. If x is not numeric or integer, NA_real_ is returned
library(SLINGtools)
cvlog(c(5,6,3,4,5, NA), na.rm = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.