cv function

Coefficient of variation

Coefficient of variation

cv(x, na.rm = TRUE)

Arguments

  • x: A numeric vector.
  • na.rm: Logical indicating whether NA values should be stripped before the computation proceeds. Default to TRUE.

Returns

The coefficient of variation of x.

Examples

scimo:::cv(1:10)

Author(s)

Antoine Bichat

  • Maintainer: Antoine BICHAT
  • License: GPL (>= 3)
  • Last published: 2024-06-07