Learn R Programming

HDSpatialScan (version 1.0.4)

multi_gaussian: Index for the MG scan procedure

Description

This function returns the index we want to minimize on the set of potential clusters, for each potential cluster

Usage

multi_gaussian(data, matrix_clusters)

Value

numeric vector.

Arguments

data

numeric matrix. Matrix of the data, the rows correspond to the sites (or individuals) and each column represents a variable.

matrix_clusters

numeric matrix. Matrix in which each column represents a potential cluster. It is the result of the "clusters" function.