partition.object {cluster} | R Documentation |
The objects of class "partition"
represent a partitioning of a
dataset into clusters.
a "partition"
object is a list with the following
(and typically more) components:
clustering |
the clustering vector. An integer vector of length n, the number of observations, giving for each observation the number (‘id’) of the cluster to which it belongs. |
call |
the matched |
silinfo |
a list with all silhouette information, only available when
the number of clusters is non-trivial, i.e., 1 < k < n and
then has the following components, see
This information is also needed to construct a silhouette plot of
the clustering, see Note that |
objective |
value of criterion maximized during the partitioning algorithm, may more than one entry for different stages. |
diss |
an object of class |
data |
a matrix containing the original or standardized data. This might be missing to save memory or when a dissimilarity matrix was given as input structure to the clustering method. |
These objects are returned from pam
, clara
or fanny
.
The "partition"
class has a method for the following generic functions:
plot
, clusplot
.
The following classes inherit from class "partition"
:
"pam"
, "clara"
and "fanny"
.
See pam.object
, clara.object
and
fanny.object
for details.