Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


FactoClass (version 1.2.9)

plotcc: Correlation circle from coordinates

Description

It plots Correlation circle from a coordinate table

Usage

plotcc(x,ex=1,ey=2,cex.label=4.5,col.label="black",font.label="bold",col.arrow="black",
			fullcircle=TRUE,y=NULL)

Value

It graphs the factorial plane ex,ey using a data.frame or matrix x with axis coordinates.

Arguments

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

Author

Jhonathan Medina jmedinau@unal.edu.co and Campo Elias Pardo cepardot@unal.edu.co

Details

Plot the selected factorial plane as a correlation circle for the variables from a normed PCA.

Examples

Run this code
data(admi)
pca <- dudi.pca(admi[,2:6],scannf=FALSE,nf=2)
# fullcircle
plotcc(pca$co)
# no fullcircle
plotcc(pca$co,fullcircle=FALSE)

Run the code above in your browser using DataLab