powered by
It is used to select a truncation value for the dbMEM approach. It returns the minimum value that keep all samples connected.
give.thresh(matdist)
A distance matrix (class dist or matrix)
dist
matrix
The maximum distance in the minimum spanning tree.
# NOT RUN { xy <- matrix(rnorm(60),30,2) dxy <- dist(xy) th <- give.thresh(dxy) # }
Run the code above in your browser using DataLab