Rev 7667 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{partition.object}\alias{partition}% == class\alias{partition.object}\title{Partitioning Object}\description{The objects of class \code{"partition"} represent a partitioning of adataset into clusters.}\section{GENERATION}{These objects are returned from \code{pam}, \code{clara} or \code{fanny}.}\section{METHODS}{The \code{"partition"} class has a method for the following generic functions:\code{plot}, \code{clusplot}.}\section{INHERITANCE}{The following classes inherit from class \code{"partition"} :\code{"pam"}, \code{"clara"} and \code{"fanny"}.See \code{\link{pam.object}}, \code{\link{clara.object}} and\code{\link{fanny.object}} for details.}\value{a \code{"partition"} object is a list with the following(and typically more) components:\item{clustering}{the clustering vector. An integer vector of length \eqn{n}, the number ofobservations, giving for each observation the number ('id') of thecluster to which it belongs.}\item{call}{the matched \code{\link{call}} generating the object.}\item{silinfo}{a list with all \emph{silhouette} information, only available whenthe number of clusters is non-trivial, i.e., \eqn{1 < k < n} andthen has the following components, see \code{\link{silhouette}}\describe{\item{widths}{an (n x 3) matrix, as returned by\code{\link{silhouette}()}, with for each observation i thecluster to which i belongs, as well as the neighbor cluster of i(the cluster, not containing i, for which the averagedissimilarity between its observations and i is minimal), andthe silhouette width \eqn{s(i)} of the observation.}\item{clus.avg.widths}{the average silhouette width per cluster.}\item{avg.width}{the average silhouette width for the dataset, i.e.,simply the average of \eqn{s(i)} over all observations \eqn{i}.}}% describeThis information is also needed to construct a \emph{silhouette plot} ofthe clustering, see \code{\link{plot.partition}}.Note that \code{avg.width} can be maximized over differentclusterings (e.g. with varying number of clusters) to choose an\emph{optimal} clustering.%% see an example or a demo << FIXME >>}\item{objective}{value of criterion maximized during thepartitioning algorithm, may more than one entry for different stages.}\item{diss}{an object of class \code{"dissimilarity"}, representing the totaldissimilarity matrix of the dataset (or relevant subset, e.g. for\code{clara}).}\item{data}{a matrix containing the original or standardized data. This mightbe missing to save memory or when a dissimilarity matrix was givenas input structure to the clustering method.}}\seealso{\code{\link{pam}}, \code{\link{clara}}, \code{\link{fanny}}.}\keyword{cluster}