iod {litteR} | R Documentation |
A normalized measure of the dispersion of a probability distribution.
iod(x, na.rm = FALSE)
x |
a numeric vector |
na.rm |
logical. Should missing values be removed? |
index of dispersion (numeric vector of length 1).
https://en.wikipedia.org/wiki/Index_of_dispersion