MG | R Documentation |
This function computes the MG (Multivariate Gaussian scan statistic).
MG(
data,
MC = 999,
typeI = 0.05,
nbCPU = 1,
variable_names = NULL,
initialization,
permutations
)
data |
matrix. Matrix of the data, the rows correspond to the sites (or the individuals if the observations are by individuals and not by sites) and each column represents a variable. |
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. |
nbCPU |
numeric. Number of CPU. If nbCPU > 1 parallelization is done. By default: 1. |
variable_names |
character. Names of the variables. By default NULL. |
initialization |
list. Initialization for the scan procedure (see |
permutations |
matrix. Indices of permutations of the data. |
An object of class ResScanOutputMulti.
Lionel Cucala and Michaël Genin and Caroline Lanier and Florent Occelli (2017). A Multivariate Gaussian Scan Statistic for Spatial Data. Spatial Statistics, 21, 66-74.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.