plotcc: Correlation circle from coordinates

View source: R/plotcc.R

plotccR Documentation

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)

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

Details

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

Value

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

Author(s)

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

Examples

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

FactoClass documentation built on Sept. 14, 2023, 1:07 a.m.