Learn R Programming

pse (version 0.3.4)

cv: Coefficient of variation

Description

Returns the coefficient of variation of a sample.

Usage

cv(x, ...)

Arguments

x
Any numeric vector (or other data type for which sd and mean methods are defined)
...
Additional parameters for the sd and mean functions (such as na.rm=TRUE)