varcoefficient {SETGEN}R Documentation

Variation coefficient

Description

Calculate variation coefficient of the elements of a numeric vector: sd(x)/abs(mean(x)).

Usage

varcoefficient(x)

Arguments

x A numeric vector.

Value

The variation coefficient of the elements of x.

Author(s)

Rosolowski, M. maciej.rosolowski@imise.uni-leipzig.de

Examples

x <- 1:5
varcoefficient(x) # 0.5270463

[Package SETGEN version 0.1 Index]