To cite package ‘bayespmtools’ in publications use:

Sadatsafavi M (2026). bayespmtools: Bayesian Sample Size and Precision Considerations for Risk Prediction Models. R package version 0.0.2, https://github.com/resplab/bayespmtools.

Corresponding BibTeX entry:

  @Manual{,
    title = {bayespmtools: Bayesian Sample Size and Precision
      Considerations for Risk Prediction Models},
    author = {Mohsen Sadatsafavi},
    year = {2026},
    note = {R package version 0.0.2},
    url = {https://github.com/resplab/bayespmtools},
  }