This function allows to return only the detected clusters with no overlapping in their order of detection.
non_overlap(index_clusters, matrix_clusters)
The detecting clusters with no overlapping, in their order of detection.
numeric vector. The indices of the detected 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.