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, . A BibTeX entry for LaTeX users is @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}, }