To cite package ‘choosepc’ in publications use:

Tsagris M (2023). choosepc: Choose the Number of Principal Components via Recistruction Error. R package version 1.0, https://CRAN.R-project.org/package=choosepc.

Corresponding BibTeX entry:

  @Manual{,
    title = {choosepc: Choose the Number of Principal Components via
      Recistruction Error},
    author = {Michail Tsagris},
    year = {2023},
    note = {R package version 1.0},
    url = {https://CRAN.R-project.org/package=choosepc},
  }