To cite package ‘gmodels’ in publications use:

Warnes GR, Bolker B, Lumley T, Johnson RC, Jain N, Schwartz M, Rogers J (2024). gmodels: Various R Programming Tools for Model Fitting. R package version 2.19.1, https://github.com/r-gregmisc/gmodels.

Corresponding BibTeX entry:

  @Manual{,
    title = {gmodels: Various R Programming Tools for Model Fitting},
    author = {Gregory R. Warnes and Ben Bolker and Thomas Lumley and
      Randall C. Johnson and Nitin Jain and Mark Schwartz and Jim
      Rogers},
    year = {2024},
    note = {R package version 2.19.1},
    url = {https://github.com/r-gregmisc/gmodels},
  }