To cite package ‘cosmic’ in publications use:

  Ridgeway G (2026). _cosmic: Conditional Ordinal Stereotype Model for
  Incident-Level Comparison_. R package version 0.5,
  <https://github.com/gregridgeway/cosmic>.

A BibTeX entry for LaTeX users is

  @Manual{,
    title = {cosmic: Conditional Ordinal Stereotype Model for Incident-Level
Comparison},
    author = {Greg Ridgeway},
    year = {2026},
    note = {R package version 0.5},
    url = {https://github.com/gregridgeway/cosmic},
  }
