clustOutput-class {MLInterfaces}R Documentation

Class "clustOutput" container for cluster analysis results

Description

container for cluster analysis results

Objects from the Class

Objects can be created by calls of the form new("clustOutput", ...).

Slots

clustIndices:
Object of class MLLabel
clustScores:
Object of class MLScore, when a numerical figure of clustering is available
method:
Object of class "character" tag indicating name of procedure
RObject:
Object of class "ANY" unprocessed output of the clustering function
call:
Object of class "call" audit of the call that created the object
distMat:
Object of class "dist" distance among objects

Extends

Class "MLOutput", directly.

Methods

show
signature(object = "clustOutput"): concise report
silhouetteB
signature(out = "clustOutput"): compute the silhouette object corresponding to the partition

Author(s)

VJ Carey <stvjc@channing.harvard.edu>

See Also

"classifOutput"

Examples

showClass("clustOutput")

 library(golubEsets)
 data(Golub_Merge)
 train <- c(sample(1:47, 23), sample(48:72, 12))
 agOut <- agnesB(Golub_Merge[100:200,], 3)
 agOut
 sil.ag <- silhouetteB(agOut)
 plot(sil.ag, main="Silhouette Plot for Agnes Clustering")


[Package MLInterfaces version 1.10.3 Index]