# Statistical Methods for Regional Counts

## Documentation for package ‘smerc’ version 1.8.6

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

## Help Pages

B C D E F G K L M N O P R S T U Z

smerc-package | smerc

## -- B --

bn.test | Besag-Newell Test
bn.zones | Determine case windows (circles)

## -- C --

casewin | Determine case windows (circles)
cepp.sim | Perform 'cepp.test' on simulated data
cepp.test | Cluster Evalation Permutation Procedure Test
cepp.weights | Compute region weights for 'cepp.test'
clusters | Extract clusters
color.clusters | Color clusters
combine.zones | Combine distinct zones
csg2 | Construct connected subgraphs

## -- D --

dc.sim | Perform 'dc.test' on simulated data
dc.test | Double Connection spatial scan test
dc.zones | Determine zones for the Double Connected scan test
dist.ellipse | Compute minor axis distance of ellipse
distinct | Distinct elements of a list
dmst.sim | Perform 'dmst.test' on simulated data
dmst.test | Dynamic Minimum Spanning Tree spatial scan test
dmst.zones | Determine zones for the Dynamic Minimum Spanning Tree scan test
dweights | Distance-based weights for 'tango.test'

## -- E --

edmst.sim | Perform 'edmst.test' on simulated data
edmst.test | Early Stopping Dynamic Minimum Spanning Tree spatial scan test
edmst.zones | Determine zones for the early stopping dynamic Minimum Spanning Tree scan test
elbow_point | Compute Elbow Point
elliptic.nn | Nearest neighbors for elliptic scan
elliptic.penalty | Compute elliptic penalty
elliptic.sim.adj | Perform 'elliptic.test' on simulated data
elliptic.test | Elliptical Spatial Scan Test
elliptic.zones | Determine zones for 'elliptic.test'
eucdist | Compute distance for geographic coordinates

## -- F --

fast.sim | Perform 'fast.test' on simulated data
fast.test | Fast Subset Scan Test
fast.zones | Determine sequence of fast subset scan zones
flex.sim | Perform 'flex.test' on simualated data
flex.test | Flexibly-shaped Spatial Scan Test
flex.zones | Determine zones for flexibly shaped spatial scan test
flex_test | Flexibly-shaped Spatial Scan Test
flex_zones | Determine zones for flexibly shaped spatial scan test

## -- G --

gcdist | Compute distance for geographic coordinates
gedist | Compute distance for geographic coordinates

## -- K --

knn | K nearest neighbors

## -- L --

lcsg2 | Construct connected subgraphs
lget | Apply getElement over a list
lgetElement | Apply getElement over a list

## -- M --

mlf.test | Maxima Likelihood First Scan Test
mlf.zones | Determine zones for the maxima likelihood first algorithm.
mlink.sim | Perform 'mlink.test' on simulated data
mlink.test | Maximum Linkage spatial scan test
mlink.zones | Determine zones for the Maximum Linkage scan test
morancr.sim | Constant-risk Moran's I statistic
morancr.stat | Constant-risk Moran's I statistic
morancr.test | Constant-risk Moran's I-based test
mst.all | Minimum spanning tree for all regions
mst.seq | Minimum spanning tree sequence

## -- N --

nclusters | Number of clusters
neast | Breast cancer mortality in the Northeastern United States
neastw | Binary adjacency matrix for 'neast'
nn.cumsum | Cumulative sum over nearest neighbors
nn2zones | Convert nearest neighbors list to zones
nndist | Determine nearest neighbors based on maximum distance
nndup | Determine duplicates in nearest neighbor list
nnpop | Determine nearest neighbors with population constraint
noz | Determine non-overlapping zones
nydf | Leukemia data for 281 regions in New York.
nypoly | 'SpatialPolygons' object for New York leukemia data.
nysf | 'sf' object for New York leukemia data.
nysp | 'SpatialPolygonsDataFrame' for New York leukemia data.
nyw | Adjacency matrix for New York leukemia data.

## -- O --

optimal_ubpop | Optimal Population Upper Bound Statistics

## -- P --

plot.smerc_cluster | Plot object of class 'smerc_cluster'.
plot.smerc_optimal_ubpop | Plot object of class 'smerc_optimal_ubpop'.
plot.tango | Plots an object of class 'tango'.
precog.sim | Perform 'precog.test' on simulated data.
precog.test | PreCoG Scan Test
print.smerc_cluster | Print object of class 'smerc_cluster'.
print.smerc_optimal_ubpop | Print object of class 'smerc_optimal_ubpop'.
print.smerc_similarity_test | Print object of class 'smerc_similarity_test'.
print.tango | Print object of class 'tango'.

## -- R --

rflex.midp | Compute middle p-value
rflex.sim | Perform 'rflex.test' on simualated data
rflex.test | Restricted Flexibly-shaped Spatial Scan Test
rflex.zones | Determine zones for flexibly shaped spatial scan test
rflex_zones | Determine zones for flexibly shaped spatial scan test

## -- S --

scan.nn | Determine nearest neighbors with population constraint
scan.sim.adj | Perform 'scan.test' on simulated data
scan.stat | Spatial scan statistic
scan.test | Spatial Scan Test
scan.zones | Determine zones for the spatial scan test
scan_stat | Spatial scan statistic
scsg2 | Construct connected subgraphs
sget | Apply getElement over a list
sgetElement | Apply getElement over a list
sig_noc | Return most significant, non-overlapping zones
smerc | smerc
smerc_cluster | Prepare 'smerc_cluster'
stat.binom | Spatial scan statistic
stat.poisson | Spatial scan statistic
stat_binom | Spatial scan statistic
stat_poisson | Spatial scan statistic
summary.smerc_cluster | Summary of 'smerc_cluster' object

## -- T --

tango.stat | Tango's statistic
tango.test | Tango's clustering detection test
tango.weights | Distance-based weights for 'tango.test'

## -- U --

uls.sim | Perform 'uls.test' on simulated data
uls.test | Upper Level Set Spatial Scan Test
uls.zones | Determine sequence of ULS zones.

## -- Z --

zones.sum | Sum over zones