This function computes the UNP (Univariate Nonparametric scan statistic).
UNP(data, MC = 999, typeI = 0.05, initialization, permutations)
An object of class ResScanOutputUni.
vector. Vector of the data, each element corresponds to a site (or an individual if the observations are by individuals and not by sites).
numeric. Number of Monte-Carlo permutations to evaluate the statistical significance of the clusters. By default: 999.
numeric. The desired type I error. A cluster will be evaluated as significant if its associated p-value is less than typeI. By default 0.05.
list. Initialization for the scan procedure (see InitScan
for more details).
matrix. Indices of permutations of the data.
Inkyung Jung and Ho Jin Cho (2015). A Nonparametric Spatial Scan Statistic for Continuous Data. International Journal of Health Geographics, 14.