Learn R Programming

HDSpatialScan (version 1.0.4)

pointwise_dfree: Index for the DFFSS scan procedure

Description

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

Usage

pointwise_dfree(data, matrix_clusters)

Value

numeric vector.

Arguments

data

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

matrix_clusters

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