Class "dbs"
This class pertains to results of the application of function
dbs.
Objects can be created by calls of the form new("dbs", ...) or as a
result from calling function dbs.
call:Object of class "call" reporting the matched
call.
x:Object of class "matrix" representing the clustered
data points.
prior:Object of class "numeric" being the prior
probabilities of belonging to the groups.
dbs:Object of class "numeric" reporting the
density-based silhouette information of the clustered data.
clusters:Object of class "numeric" reporting the
group labels of grouped data.
noc:Object of class "numeric" indicating the number
of clusters.
stage:Object of class "ANY" corresponding to the
stage of the classification at which the density-based silhouette information
is computed when dbs is applied to an object of
pdfCluster-class.
signature(x = "dbs", y = "missing"):
S4 method for plotting objects of dbs-class. Data are partitioned
into the clusters, sorted in a decreasing order with respect to their dbs value
and displayed on a bar graph. See plot,dbs-method for further details.
signature(object = "dbs"):
S4 method for showing objects of dbs-class. The following
elements are shown:
the dbs index computed at the observed data;
The cluster membership of each data point;
signature(object = "dbs"):
S4 method for summarizing objects of dbs-class. The following
elements are shown:
a summary (minimum, 1st quartile, median, mean, 3rd quartile, maximum) of the dbs values for each cluster;
a summary (minimum, 1st quartile, median, mean, 3rd quartile, maximum) of the dbs values for all the observations.
showClass("dbs")
#wine example
#data loading
data(wine)
# select a subset of variables
x <- wine[, c(2,5,8)]
#clustering
cl <- pdfCluster(x)
dsil <- dbs(cl)
dsil
summary(dsil)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.