ds_cvar {descriptr}R Documentation

Coefficient of Variation

Description

Compute the coefficient of variation

Usage

ds_cvar(x, data = NULL, na.rm = FALSE)

Arguments

x

a numeric vector

data

a data.frame or tibble

na.rm

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

Examples

ds_cvar(mtcars$mpg)
ds_cvar(mpg, mtcars)

[Package descriptr version 0.5.2 Index]