planfac {FactoClass} | R Documentation |
It plots factorial planes of a correspondence analysis
planfac(dudi, x = 1, y = 2, rotx = FALSE, roty = FALSE, roweti=row.names(dudi$li), coleti=row.names(dudi$co), titre = NULL, axislabel = TRUE, col.row = "black", 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") sutil.grid(cgrid,scale=TRUE)
dudi |
object of type dudi.coa or dudi.acm |
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 |
graphic title |
axislabel |
if it is TRUE the axis information is written |
col.row |
color for row points and row labels. Default "black" |
col.col |
color for column points and column labels. Default "blue" |
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 |
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 |
cframe |
scale for graphic limits |
ucal |
quality representation threshold (percentage) 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" |
... |
|
cgrid |
|
scale |
Plot the selected factorial plane.
sutil.grid
is used by planfac
It graphs the factorial plane x,y using $co, $li of a "dudi" "coa" object. If ucal > 0, the function inertia.dudi is used to calculate the quality of representation on the plane
Campo Elias Pardo cepardot@unal.edu.co
http://www.docentes.unal.edu.co/cepardot
data(ardeche) ca <- dudi.coa(ardeche$tab,scannf=FALSE,nf=4) # FactoMineR style planfac(ca,ucal=40,all.point=FALSE,titre="SCA of Ardeche, First Factorial Plane") dev.new() # ade4 style planfac(ca,x=3,y=4,ucal=20,all.point=FALSE,infaxes="in",titre="SCA of Ardeche, Plane 3-4")