Learn R Programming

descriptr (version 0.5.1)

ds_cvar: Coefficient of Variation

Description

Compute the coefficient of variation

Usage

ds_cvar(x, na.rm = FALSE)

Arguments

x

a numeric vector containing the values whose mode is to be computed

na.rm

a logical value indicating whether NA values should be stripped before the computation proceeds.

Details

Any NA values are stripped from x before computation takes place.

Examples

Run this code
# NOT RUN {
ds_cvar(mtcars$mpg)
# }

Run the code above in your browser using DataLab