powered by
Calculate unbiased estimate of diversity for a vector of items
diversity(x)
charcter or numeric vector or factor