To cite divseg in publications use:

Kenny CT (????). “divseg: Compute Diversity and Segregation Indices.” https://christophertkenny.com/ppmf/.

Corresponding BibTeX entry:

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