Learn R Programming

litteR (version 1.0.0)

cv: Coefficient of Variation

Description

Coefficient of Variation

Usage

cv(x, na.rm = FALSE)

Value

coefficient of variation (numeric vector of length 1).

Arguments

x

a numeric vector

na.rm

logical. Should missing values be removed?

References

https://en.wikipedia.org/wiki/Coefficient_of_variation