To cite package ‘pa’ in publications use:

Lu Y, Kane D (2023). pa: Performance Attribution for Equity Portfolios. R package version 1.2-4, https://CRAN.R-project.org/package=pa.

Corresponding BibTeX entry:

  @Manual{,
    title = {pa: Performance Attribution for Equity Portfolios},
    author = {Yang Lu and David Kane},
    year = {2023},
    note = {R package version 1.2-4},
    url = {https://CRAN.R-project.org/package=pa},
  }