Get the cluster membership at the best persistence score
Value
A named list with elements labels (integer vector of cluster
assignments, -1 for noise), membership (numeric vector of strengths),
layer (which layer index was selected), and persistence (the score).
Examples
d <- manifold_synthetic_data(type = "clusters", n_samples = 500L)
res <- evoc(d$data, .verbose = FALSE)
table(best_membership(res)$cluster)
#> < table of extent 0 >
