Learn R Programming

multiColl (version 2.0)

CV: Coeficient of Variation

Description

The function calculates the Coeficient of Variation (CV) of a quantitative vector.

Usage

CV(x)

Value

The CV of x.

Arguments

x

A quantitative vector.

Author

R. Salmerón (romansg@ugr.es) and C. García (cbgarcia@ugr.es).

See Also

Examples

Run this code
# random
x = sample(1:50, 25)
x
CV(x)

Run the code above in your browser using DataLab