To cite package ‘nphPower’ in publications use:

Cheng H (2024). nphPower: Sample Size Calculation under Non-Proportional Hazards. R package version 1.1.0, https://github.com/hcheng99/nphpower.

Corresponding BibTeX entry:

  @Manual{,
    title = {nphPower: Sample Size Calculation under Non-Proportional
      Hazards},
    author = {Huan Cheng},
    year = {2024},
    note = {R package version 1.1.0},
    url = {https://github.com/hcheng99/nphpower},
  }