To cite rflexscan in publications use:

Otani T, Takahashi K (2021). “Flexible Scan Statistics for Detecting Spatial Disease Clusters: The rflexscan R Package.” Journal of Statistical Software, 99(13), 1–29. doi: 10.18637/jss.v099.i13.

Corresponding BibTeX entry:

  @Article{,
    title = {Flexible Scan Statistics for Detecting Spatial Disease
      Clusters: The {rflexscan} {R} Package},
    author = {Takahiro Otani and Kunihiko Takahashi},
    journal = {Journal of Statistical Software},
    year = {2021},
    volume = {99},
    number = {13},
    pages = {1--29},
    doi = {10.18637/jss.v099.i13},
  }