Learn R Programming

HDSpatialScan (version 1.0.4)

dfree: Index for the UG scan procedure

Description

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

Usage

dfree(data, matrix_clusters)

Value

numeric matrix.

Arguments

data

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

matrix_clusters

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