noc_nn: Returned ordered non-overlapping clusters

View source: R/noc_nn.R

noc_nnR Documentation

Returned ordered non-overlapping clusters

Description

noc_nn returns the non-overlapping clusters ordered by the values on tobs_nn.

Usage

noc_nn(nn, tobs_nn, nnoc = length(nn))

Arguments

nn

A nearest neighbor list.

tobs_nn

The test statistics for each sequence candidate zone.

nnoc

The number of non-overlapping clusters to return.

Value

A list with clusts, a list with elements containing the non-overlapping clusters, and tobs, the associated test statistic for each cluster.


jpfrench81/smerc documentation built on Jan. 13, 2024, 4:30 a.m.