plotFactoClass {FactoClass} | R Documentation |
For objects of class FactoClass it graphs a factorial plane showing the center of gravity of the cluster, and identifying with colors the cluster to which each element belongs.
plotFactoClass(FC , x=1, y=2, rotx=FALSE, roty=FALSE, roweti=row.names(dudi$li), coleti=row.names(dudi$co),titre=NULL, axislabel=TRUE, col.row=1:FC$k, col.col="blue", cex=0.8, cex.row=0.8, cex.col=0.8, all.point=TRUE, Trow=TRUE, Tcol=TRUE, cframe=1.2, ucal=0, cex.global=1, infaxes="out",nclus=paste("cl", 1:FC$k, sep=""),cex.clu=cex.row,cstar=1 )
FC |
object of class FactoClass. |
x |
number indentifying the factor to be used as horizontal axis. Default x=1 |
y |
number indentifying the factor to be used as vertical axis. Default y=2 |
rotx |
TRUE if you want change the sign of the horizontal coordinates (default FALSE). |
roty |
TRUE if you want change the sign of the vertical coordinates (default FALSE). |
roweti |
selected row points for the graphic. Default all points. |
coleti |
selected column points for the graphic. Default all points. |
titre |
graphics title. |
axislabel |
if it is TRUE the axis information is written. |
col.row |
color for row points and row labels. Default 1:FC$k . |
col.col |
color for row points and row labels. Default "grey55". |
cex |
global scale for the labels. Default cex=0.8. |
cex.row |
scale for row points and row labels. Default cex.row=0.8. |
cex.col |
scale for column points and column labels. Default cex.col=0.8. |
cex.clu |
scale for cluster points and cluster labels. (default cex.row). |
all.point |
if if is TRUE, all points are outlined. Default all.point=TRUE. |
Trow |
if it is TRUE the row points are outlined. Default TRUE. |
Tcol |
if it is TRUE the column points are outlined. Default TRUE. |
nclus |
labels for the clusters (default cl1, cl2, ... |
cframe |
scale for graphics limits |
ucal |
quality Representation Threshold in the plane. Default ucal=0 |
cex.global |
scale for the label sizes |
infaxes |
place to put the axes information: "out","in","no". Default infaxes="out".
If infaxes="out" the graphic is similar to FactoMineR graphics, otherwise the style
is similar to the one in ade4 , without axes information when infaxes="no" |
cstar |
length of the rays between the centroids of the classes and their points |
It draws the factorial plane with the clusters. Only for objects FactoClass
see FactoClass. The factorial plane is drawn with planfac
and the classes are projected
with s.class
of ade4
It draws the factorial plane x, y using $co, $li of the object of class FactoClass
.
If ucal > 0, the function inertia.dudi is used to calculate the quality of representation in the plane.
Campo Elias Pardo cepardot@unal.edu.co Pedro Cesar del Campo pcdelcampon@unal.edu.co,
data(Bogota) Bog.act <- Bogota[-1] Bog.ilu <- Bogota[ 1] FC.Bogota<-FactoClass(Bog.act, dudi.coa,Bog.ilu,nf=2,nfcl=5,k.clust=5,scanFC=FALSE) plotFactoClass(FC.Bogota,titre="Primer plano factorial del ACS de la TC de manzanas de Bogota", col.row=c("maroon2","orchid4","darkgoldenrod2","dark red","aquamarine4"))