The rflexscan package provides functions and classes to analyze spatial count data using the flexible spatial scan statistic developed by Tango and Takahashi (2005) on R. The original FleXScan software developed by Takahashi et al. is also available at https://sites.google.com/site/flexscansoftware/home.
Project page: https://tkhrotn.github.io/rflexscan/
CRAN: https://cran.r-project.org/package=rflexscan
# Install from CRAN
install.packages("rflexscan")
# Install development version from GitHub:
install.packages("devtools")
devtools::install_github("tkhrotn/rflexscan")