To cite package ‘causalPAF’ in publications use:

O'Connell M, Ferguson J (2022). causalPAF: Causal Effect for Population Attributable Fractions (PAF). R package version 1.2.5, https://github.com/mauriceoconnell/causalpaf.

Corresponding BibTeX entry:

  @Manual{,
    title = {causalPAF: Causal Effect for Population Attributable
      Fractions (PAF)},
    author = {Maurice O'Connell and John Ferguson},
    year = {2022},
    note = {R package version 1.2.5},
    url = {https://github.com/mauriceoconnell/causalpaf},
  }