laakso {CUB} | R Documentation |
Compute the normalized Laakso and Taagepera heterogeneity index for a given discrete probability distribution.
laakso(prob)
prob |
Vector of a probability or relative frequency distribution |
Laakso, M. and Taagepera, R. (1989). Effective number of parties: a measure with application to West Europe, Comparative Political Studies, 12, 3–27.
prob<-c(0.04,0.04,0.05,0.10,0.21,0.32,0.24) laakso(prob)