To cite package ‘BAGofT’ in publications use:

Zhang J, Ding J, Yang Y (2021). BAGofT: A Binary Regression Adaptive Goodness-of-Fit Test (BAGofT). R package version 1.0.0, https://CRAN.R-project.org/package=BAGofT.

Corresponding BibTeX entry:

  @Manual{,
    title = {BAGofT: A Binary Regression Adaptive Goodness-of-Fit Test
      (BAGofT)},
    author = {Jiawei Zhang and Jie Ding and Yuhong Yang},
    year = {2021},
    note = {R package version 1.0.0},
    url = {https://CRAN.R-project.org/package=BAGofT},
  }