non_overlap: Return only the detected clusters with no overlapping in...

View source: R/non_overlap.R

non_overlapR Documentation

Return only the detected clusters with no overlapping in their order of detection

Description

This function allows to return only the detected clusters with no overlapping in their order of detection.

Usage

non_overlap(index_clusters, matrix_clusters)

Arguments

index_clusters

numeric vector. The indices of the detected clusters.

matrix_clusters

numeric matrix. Matrix in which each column represents a potential cluster. A value of 1 indicate that the site (or the individual) is in the cluster, 0 otherwise.

Value

The detecting clusters with no overlapping, in their order of detection.


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