Extract the classes in a partition or hierarchy.
cl_classes(x)
A list inheriting from "cl_classes_of_objects"
of vectors
indicating the classes.
an R object representing a partition or hierarchy of objects.
For partitions, the classes are the equivalence classes (“clusters”) of the partition; for soft partitions, the classes of the nearest hard partition are used.
For hierarchies represented by trees, the classes are the sets of objects corresponding to (joined at or split by) the nodes of the tree.