plotcc | R Documentation |
It plots Correlation circle from a coordinate table
plotcc(x,ex=1,ey=2,cex.label=4.5,col.label="black",font.label="bold",col.arrow="black",
fullcircle=TRUE,y=NULL)
x |
matrix or data.frame with coordinates |
ex |
the component like horizontal axis |
ey |
the component like vertical axis |
cex.label |
size of the variable labels. Default 4.5 |
col.label |
color of the variable labels. Default black |
font.label |
font of the variable labels from fontface of ggplot2. Defult bold |
col.arrow |
color of the arrows. Default black |
fullcircle |
if it is TRUE (default), the circle is complete |
y |
internal |
Plot the selected factorial plane as a correlation circle for the variables from a normed PCA.
It graphs the factorial plane ex,ey using a data.frame or matrix x with axis coordinates.
Jhonathan Medina jmedinau@unal.edu.co and Campo Elias Pardo cepardot@unal.edu.co
data(admi)
pca <- dudi.pca(admi[,2:6],scannf=FALSE,nf=2)
# fullcircle
plotcc(pca$co)
# no fullcircle
plotcc(pca$co,fullcircle=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.