Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

boxplot.bclust

Boxplot of Cluster Profiles


Description

Makes boxplots of the results of a bagged clustering run.

Usage

## S3 method for class 'bclust'
boxplot(x, n=nrow(x$centers), bycluster=TRUE,
        main=deparse(substitute(x)), oneplot=TRUE,
        which=1:n, ...)

Arguments

x

Clustering result, object of class "bclust".

n

Number of clusters to plot, by default the number of clusters used in the call of bclust.

bycluster

If TRUE (default), a boxplot for each cluster is plotted. If FALSE, a boxplot for each variable is plotted.

main

Main title of the plot, by default the name of the cluster object.

oneplot

If TRUE, all boxplots appear on one screen (using an appropriate rectangular layout).

which

Number of clusters which should be plotted, default is all clusters.

...

Additional arguments for boxplot.

Author(s)

Friedrich Leisch

Examples

data(iris)
bc1 <- bclust(iris[,1:4], 3, base.centers=5)
boxplot(bc1)

e1071

Misc Functions of the Department of Statistics, Probability Theory Group (Formerly: E1071), TU Wien

v1.7-11
GPL-2 | GPL-3
Authors
David Meyer [aut, cre], Evgenia Dimitriadou [aut, cph], Kurt Hornik [aut], Andreas Weingessel [aut], Friedrich Leisch [aut], Chih-Chung Chang [ctb, cph] (libsvm C++-code), Chih-Chen Lin [ctb, cph] (libsvm C++-code)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.