plot.clustatis {ClustBlock}R Documentation

Displays the CLUSTATIS graphs

Description

This function plots dendrogram, variation of the merging criterion, weights and STATIS map of each cluster

Usage

## S3 method for class 'clustatis'
plot(x, ngroups=NULL, Graph_groups=TRUE, Graph_dend=TRUE,
Graph_bar=FALSE, Graph_weights=FALSE, axes=c(1,2), col=NULL, cex=1, font=1, ...)

Arguments

x

object of class 'clustatis'.

ngroups

number of groups to consider. Ignored for clustatis_kmeans results. Default: recommended number of clusters

Graph_groups

logical. Should each cluster compromise graphical representation be plotted? Default: TRUE

Graph_dend

logical. Should the dendrogram be plotted? Default: TRUE

Graph_bar

logical. Should the barplot of the difference of the criterion and the barplot of the overall homogeneity at each merging step of the hierarchical algorithm be plotted? Also available after consolidation if Noise_cluster=FALSE. Default: FALSE

Graph_weights

logical. Should the barplot of the weights in each cluster be plotted? Default: FALSE

axes

numerical vector (length 2). Axes to be plotted. Default: c(1,2)

col

vector. Color for each object. Default: rainbow(nrow(Data))

cex

numerical. Numeric character expansion factor; multiplied by par("cex") yields the final character size. NULL and NA are equivalent to 1.0.

font

numerical. Integer specifying font to use for text. 1=plain, 2=bold, 3=italic, 4=bold italic, 5=symbol. Default: 1

...

further arguments passed to or from other methods

Value

the CLUSTATIS graphs

See Also

clustatis , clustatis_kmeans

Examples


 data(smoo)
 NameBlocks=paste0("S",1:24)
 cl=clustatis(Data=smoo,Blocks=rep(2,24),NameBlocks = NameBlocks)
 plot(cl, ngroups=3, Graph_dend=FALSE)
 plot(cl, ngroups=3,  Graph_dend=FALSE, axes=c(1,3))
 graphics.off()
 


[Package ClustBlock version 2.3.1 Index]