These function are generic functions.
The methods provided in package clue handle the partitions
obtained from clustering functions in the base R distribution, as well
as packages RWeka, cba, cclust, cluster,
e1071, flexclust, flexmix, kernlab,
mclust, movMF and skmeans (and of course, clue
itself).
Note that the number of classes is taken as the number of distinct
class ids actually used in the partition, and may differ from the
number of columns in a membership matrix representing the partition.
as.cl_class_ids
can be used for coercing “raw” class
ids (given as atomic vectors) to class id objects.