This function slims the number of clusters down.
The spatial scan statistic is known to detect duplicated
clusters. This function aims to reduce the number of clusters
by removing duplicated and overlapping clusters.
Usage
slimknclusters(d, knresults, minsize = 1)
Arguments
d
Data.frame with data used in the detection of clusters.
knresults
Object returned by function opgam() with the clusters detected.
minsize
Minimum size of cluster (default to 1).
Value
A subset of knresults with non-overlaping clusters of at least
minsize size.