# Utilities for Geo-Spatial Cluster Detection and Significance Classification

## Documentation for package ‘gsClusterDetect’ version 1.0.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

add_location_counts | Add location counts to cluster location list
add_spline_threshold | Use spline lookup to restrict 'ObservedExpectedGrid' to potential clusters
check_vars | check for variables in frame
compress_clusters | Compress a cluster_alert_table
compress_clusters_fast | Fast version of compress clusters
counties | County Location Dataset
county_distance_matrix | Get distance matrix for counties within a state
create_custom_dist_list | Create a sparse distance list from custom location data
create_dist_list | Generalized distance list as sparse list
custom_distance_matrix | Build a Distance Matrix from a Custom Data Frame
example_count_data | Example Count Dataset
find_clusters | Find clusters
generate_case_grids | Get test period and baseline period case counts
generate_heatmap | Generate heatmap of data
generate_heatmap_data | Get heat map data from a set of location, date, count data
generate_observed_expected | Generate the observed and expected information
generate_summary_table | Summary count-by-location-and-date data, given baseline and test interval lengths, and an end-date for the test interval
generate_time_series_data | Generate time series data
generate_time_series_plot | Generate timeseries plot data
gen_nearby_case_info | Return baseline and test period case grids restricting by distance
get_baseline_dates | Generate baseline dates vector
get_nearby_locations | Get nearby locations
get_test_dates | Generate test dates vector
map_clusters | Map Clusters
prepare_map_data | Prepare cluster result and shape file for mapping
reduce_clusters_to_min | Filter clusters on minimum overall count
spline_001 | Spline Lookup Table - 0.001
spline_005 | Spline Lookup Table - 0.005
spline_01 | Spline Lookup Table - 0.01
spline_05 | Spline Lookup Table - 0.05
states | State Location Dataset
state_distance_matrix | Get distance matrix for states in the US
st_injects | Add data counts for parameterized injected clusters
tract_distance_matrix | Build a Tract Distance Matrix for a State
tract_generator | Generate Census Tract Centroids for a State
us_distance_matrix | Get distance matrix for all counties in the US
zipcodes | Zipcode Location Dataset
zip_distance_matrix | Get distance matrix for zip codes within a state