It plots factorial planes from a coordinate table
plotfp(co,x=1,y=2,eig=NULL,cal=NULL,ucal=0,xlim=NULL,ylim=NULL,main=NULL,
rotx=FALSE,roty=FALSE,eti=row.names(co),
axislabel=TRUE,col.row="black",cex=0.8,cex.row=0.8,
all.point=TRUE,cframe=1.2,cex.global=1,infaxes="out",asp=1)matrix or data.frame with coordinates
the component like horizontal axis
the component like vertical axis
numeric with the eigenvalues
matrix or data.frame with the square cosinus
quality representation threshold (percentage) in the plane . Default ucal=0
the x limits (x1, x2) of the plot
the y limits of the plot
graphic title
TRUE if you want change the sign of the horizontal coordinates. Default FALSE
TRUE if you want change the sign of the vertical coordinates. Default FALSE
selected row points for the graphic. Default all points
if it is TRUE the axis information is written
color for row points and row labels. Default "black"
global scale for the labels. Default cex=0.8
scale for row points and row labels. Default cex.row=0.8
If if is TRUE, all points are outlined. Default all.point=TRUE
scale for graphic limits
scale for the label sizes
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"
the y/x aspect ratio
It graphs the factorial plane x,y using co and optional information of eigenvalues and representation quality of the points. If ucal > 0, only the points with the quality of representation on the plane bigger than ucal are pointed
Plot the selected factorial plane.
# NOT RUN {
data(Bogota)
ca <- dudi.coa(Bogota[,2:7],scannf=FALSE,nf=2)
plotfp(ca$li,eig=ca$eig,main="First Factorial Plane")
# }
Run the code above in your browser using DataLab