Re-cut a spatial cluster tree (scl) at a different number of clusters.
scl_recluster(scl, ncl, shortest = TRUE, quiet = FALSE)An scl object returned from scl_redcap.
Desired number of clusters. See description of `ncl_iterate` parameter for conditions under which actual number may be less than this value.
If TRUE, the dmat is interpreted as distances
such that lower values are preferentially selected; if FALSE, then
higher values of dmat are interpreted to indicate stronger
relationships, as is the case for example with covariances.
If `FALSE` (default), display progress information on screen.
Modified scl object in which tree is re-cut into
ncl clusters.
Other clustering_fns:
scl_full(),
scl_redcap()