UNP: UNP scan procedure

View source: R/scan_uni.R

UNPR Documentation

UNP scan procedure

Description

This function computes the UNP (Univariate Nonparametric scan statistic).

Usage

UNP(data, MC = 999, typeI = 0.05, initialization, permutations)

Arguments

data

vector. Vector of the data, each element corresponds to a site (or an individual if the observations are by individuals and not by sites).

MC

numeric. Number of Monte-Carlo permutations to evaluate the statistical significance of the clusters. By default: 999.

typeI

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.

initialization

list. Initialization for the scan procedure (see InitScan for more details).

permutations

matrix. Indices of permutations of the data.

Value

An object of class ResScanOutputUni.

References

Inkyung Jung and Ho Jin Cho (2015). A Nonparametric Spatial Scan Statistic for Continuous Data. International Journal of Health Geographics, 14.


HDSpatialScan documentation built on May 31, 2023, 7:52 p.m.