1 # Community Data Science Collective R Utilities
3 # Copyright (c) 2010-2016 Benjamin Mako Hill and Aaron Shaw
4 # mako@atdot.cc, aaronshaw@northwestern.edu
6 ## functions to create normal and non-normalized herfenidahl indexes
12 hhi.norm <- function (x) {