cv: Coefficient of Variation

Description Usage Arguments Examples

View source: R/stats.R

Description

Calculate the sample coefficient of variation for a vector of data.

Usage

1
cv(x, na.rm = FALSE)

Arguments

x

A numeric vector.

na.rm

Logical indicating whether or not NA values should be stripped before the computation proceeds.

Examples

1
cv(rnorm(100))

bgreenwell/bmisc documentation built on Sept. 24, 2019, 11:09 a.m.