To cite the rdiversity framework in publications use:

Reeve R, Leinster T, Cobbold C, Thompson J, Brummitt N, Mitchell S, Matthews L (2016). “How to partition diversity.” arXiv, 1404.6520 [q-bio.QM].

To cite the rdiversity package directly use:

Mitchell S, Reeve R, White T (2022). rdiversity. R package version 2.2, https://github.com/boydorr/rdiversity.

Corresponding BibTeX entries:

  @Article{,
    title = {How to partition diversity},
    author = {Richard Reeve and Tom Leinster and Christina Cobbold and
      Jill Thompson and Neil Brummitt and Sonia Mitchell and Louise
      Matthews},
    journal = {arXiv},
    year = {2016},
    volume = {1404.6520 [q-bio.QM]},
  }
  @Manual{,
    title = {rdiversity},
    author = {Sonia Mitchell and Richard Reeve and Tom White},
    year = {2022},
    note = {R package version 2.2},
    url = {https://github.com/boydorr/rdiversity},
  }