Factorial Planes from Coordinates

Share:

Description

It plots factorial planes from a coordinate table

Usage

1
2
3
4
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)

Arguments

co

matrix or data.frame with coordinates

x

the component like horizontal axis

y

the component like vertical axis

eig

numeric with the eigenvalues

cal

matrix or data.frame with the square cosinus

ucal

quality representation threshold (percentage) in the plane . Default ucal=0

xlim

the x limits (x1, x2) of the plot

ylim

the y limits of the plot

main

graphic title

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

eti

selected row points for the graphic. Default all points

axislabel

if it is TRUE the axis information is written

col.row

color for row points and row labels. Default "black"

cex

global scale for the labels. Default cex=0.8

cex.row

scale for row points and row labels. Default cex.row=0.8

all.point

If if is TRUE, all points are outlined. Default all.point=TRUE

cframe

scale for graphic limits

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"

asp

the y/x aspect ratio

Details

Plot the selected factorial plane.

Value

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

Author(s)

Campo Elias Pardo cepardot@unal.edu.co

http://www.docentes.unal.edu.co/cepardot

Examples

1
2
3
data(Bogota)
ca <- dudi.coa(Bogota[,2:7],scannf=FALSE,nf=2)
plotfp(ca$li,eig=ca$eig,main="First Factorial Plane")