statis {ClustBlock}R Documentation

Performs the STATIS method on different blocks of quantitative variables

Description

STATIS method on quantitative blocks. SUpplementary outputs are also computed

Usage

statis(Data,Blocks,NameBlocks=NULL,Graph_obj=TRUE, Graph_weights=TRUE, scale=FALSE)

Arguments

Data

data frame or matrix. Correspond to all the blocks of variables merged horizontally

Blocks

numerical vector. The number of variables of each block. The sum must be equal to the number of columns of Data

NameBlocks

string vector. Name of each block. Length must be equal to the length of Blocks vector. If NULL, the names are B1,...Bm. Default: NULL

Graph_obj

logical. Show the graphical representation od the objects? Default: TRUE

Graph_weights

logical. Should the barplot of the weights be plotted? Default: TRUE

scale

logical. Should the data variables be scaled? Default: FALSE

Value

a list with:

References

See Also

plot.statis, clustatis

Examples


 data(smoo)
 NameBlocks=paste0("S",1:24)
 st=statis(Data=smoo, Blocks=rep(2,24),NameBlocks = NameBlocks)
 #plot(st, axes=c(1,3))
 summary(st)
 #with variables scaling
 st2=statis(Data=smoo, Blocks=rep(2,24),NameBlocks = NameBlocks, Graph_weights=FALSE, scale=TRUE)


[Package ClustBlock version 3.2.0 Index]