To cite `divseg` in publications use:

Kenny C (2025). divseg: Compute Diversity and Segregation Indices. R package, https://christophertkenny.com/divseg/.

Corresponding BibTeX entry:

  @Manual{divseg,
    title = {{divseg}: Compute Diversity and Segregation Indices},
    author = {Christopher T. Kenny},
    year = {2025},
    note = {R package},
    url = {https://christophertkenny.com/divseg/},
  }