Learn R Programming

litteR (version 1.0.0)

iod: Index of Dispersion

Description

A normalized measure of the dispersion of a probability distribution.

Usage

iod(x, na.rm = FALSE)

Value

index of dispersion (numeric vector of length 1).

Arguments

x

a numeric vector

na.rm

logical. Should missing values be removed?

References

https://en.wikipedia.org/wiki/Index_of_dispersion