Learn R Programming

rsvd (version 0.3)

ggcorplot: Correlation plot

Description

Creates a pretty plot which is showing the correlation of the original variable with the principal component (PCs).

Usage

ggcorplot(rpcaObj, pcs = c(1, 2))

Arguments

rpcaObj
object containing the sdev component, such as that returned by rpca
pcs
array_like an array with two values indicating which two PCs should be plotted, by default the first two PCs are used, e.g., $c(1,2)$.
.................
.

See Also

rpca, ggplot

Examples

Run this code
#

Run the code above in your browser using DataLab