plot.statis {ClustBlock} | R Documentation |
Displays the STATIS graphs
Description
This function plots the STATIS map and STATIS weights
Usage
## S3 method for class 'statis'
plot(x, axes=c(1,2), Graph_obj=TRUE,
Graph_weights=TRUE, Graph_eig=TRUE, tit="STATIS", col=NULL, cex=1, font=1,
xlim=NULL, ylim=NULL, ...)
Arguments
x |
object of class 'statis' |
axes |
numerical vector (length 2). Axes to be plotted. Default: c(1,2) |
Graph_obj |
logical. Should the compromise graphical representation be plotted? Default: TRUE |
Graph_weights |
logical. Should the barplot of the weights be plotted? Default: TRUE |
Graph_eig |
logical. Should the barplot of the eigenvalues be plotted? Only with Graph_obj=TRUE. Default: TRUE |
tit |
string. Title for the objects graphical representation. Default: 'STATIS' |
col |
vector. Color for each object. If NULL, col=rainbow(nrow(Data)). Default: NULL |
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 |
xlim |
numerical vector (length 2). Minimum and maximum for x coordinates. |
ylim |
numerical vector (length 2). Minimum and maximum for y coordinates. |
... |
further arguments passed to or from other methods |
Value
the STATIS graphs
See Also
Examples
data(smoo)
NameBlocks=paste0("S",1:24)
st=statis(Data=smoo,Blocks=rep(2,24),NameBlocks = NameBlocks)
plot(st, axes=c(1,3), Graph_weights=FALSE)