| scanstatistics-package | scanstatistics: Space-time anomaly detection using scan statistics. |
| coords_to_knn | Get the k nearest neighbors for each location, given its coordinates. |
| dist_to_knn | Given a distance matrix, find the k nearest neighbors. |
| flexible_zones | Computes the flexibly shaped zones as in Tango (2005). |
| get_zone | Extract a zone from the set of all zones. |
| knn_zones | Find the increasing subsets of k nearest neighbors for all locations. |
| mc_pvalue | Calculate the Monte Carlo p-value for a scan statistic. |
| NM_geo | Longitude and latitude of New Mexico county seats. |
| NM_map | Data to plot the counties of New Mexico. |
| NM_popcas | Population and brain cancer cases in New Mexico counties during 1973-1991. |
| scanstatistics | scanstatistics: Space-time anomaly detection using scan statistics. |
| scan_negbin | Calculate the negative binomial scan statistic. |
| scan_poisson | Calculate the Poisson scan statistic. |
| scan_zip | Calculate the ZIP scan statistic. |
| score_locations | Score each location over zones and duration. |
| top_clusters | Get the top (non-overlappig) clusters. |