To cite package ‘TidyDensity’ in publications use:

Sanderson S (2025). TidyDensity: Functions for Tidy Analysis and Generation of Random Data. R package version 1.5.2.9000, https://github.com/spsanderson/tidydensity.

Corresponding BibTeX entry:

  @Manual{,
    title = {TidyDensity: Functions for Tidy Analysis and Generation of
      Random Data},
    author = {Steven Sanderson},
    year = {2025},
    note = {R package version 1.5.2.9000},
    url = {https://github.com/spsanderson/tidydensity},
  }