# rflexscan
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](https://www.r-project.org/).
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
```r
# Install from CRAN
install.packages("rflexscan")

# Install development version from GitHub:
install.packages("devtools")
devtools::install_github("tkhrotn/rflexscan")
```

## References
 * Tango T. and Takahashi K. (2005). A flexibly shaped spatial scan statistic for detecting clusters, International Journal of Health Geographics 4:11.
 * Takahashi K, Yokoyama T and Tango T. (2010). FleXScan v3.1: Software for the Flexible Scan Statistic. National Institute of Public Health, Japan.
