To cite package ‘subdetect’ in publications use:

Fan A, Holloway ST (2025). subdetect: Detect Subgroup with an Enhanced Treatment Effect. R package version 1.3, https://CRAN.R-project.org/package=subdetect.

Corresponding BibTeX entry:

  @Manual{,
    title = {subdetect: Detect Subgroup with an Enhanced Treatment
      Effect},
    author = {Ailin Fan and Shannon T. Holloway},
    year = {2025},
    note = {R package version 1.3},
    url = {https://CRAN.R-project.org/package=subdetect},
  }