To cite package ‘RGS’ in publications use: Yang S, Fei Y (2024). _RGS: Recursive Gradient Scanning Algorithm_. R package version 1.0, . A BibTeX entry for LaTeX users is @Manual{, title = {RGS: Recursive Gradient Scanning Algorithm}, author = {Shuo Yang and Yi Fei}, year = {2024}, note = {R package version 1.0}, url = {https://CRAN.R-project.org/package=RGS}, }