Learn R Programming

scimo (version 0.0.3)

cv: Coefficient of variation

Description

Coefficient of variation

Usage

cv(x, na.rm = TRUE)

Value

The coefficient of variation of x.

Arguments

x

A numeric vector.

na.rm

Logical indicating whether NA values should be stripped before the computation proceeds. Default to TRUE.

Author

Antoine Bichat

Examples

Run this code
scimo:::cv(1:10)

Run the code above in your browser using DataLab