To cite divseg in publications use:

Kenny CT (????). “divseg: Compute Diversity and Segregation Indices.” https://christopherkenny.github.io/ppmf/.

Corresponding BibTeX entry:

  @Misc{,
    title = {{divseg}: Compute Diversity and Segregation Indices},
    author = {Christopher T. Kenny},
    url = {https://christopherkenny.github.io/ppmf/},
  }