Skip to contents

Computes the geometric CV of a vector x

Usage

geom_cv(x, na.rm = FALSE)

Arguments

x

vector of data you want the geometric CV of.

na.rm

boolean to remove NA from vector. Default is FALSE

Value

the geometric CV of the input vector x

Examples

geom_cv(c(1, 2, 3, 2, 1))
#> [1] 0.5125099