laakso: Normalized Laakso and Taagepera heterogeneity index

Description Usage Arguments See Also Examples

View source: R/laakso.R

Description

Compute the normalized Laakso & Taagepera heterogeneity index for a given discrete probability distribution.

Usage

1
laakso(m, prob)

Arguments

m

Number of categories

prob

Vector of length m of a probability or relative frequency distribution

See Also

gini

Examples

1
2
3
m<-7
prob<-c(0.04,0.04,0.05,0.10,0.21,0.32,0.24)
laakso(m,prob)

CUB documentation built on May 29, 2017, 6:32 p.m.

Related to laakso in CUB...