clusters: Get the cluster assignments for a solution of a clusterforest object
Description
A function to get the cluster assignments for a given solution of a clusterforest object.
Usage
clusters(clusterforest, solution)
Arguments
- clusterforest
A clusterforest object
- solution
The solution for which cluster assignments should be returned. Default = 1