plot.pca.loadings: PCA Loadings plot This function plots the relation between...

Description Usage Arguments Author(s) Examples

Description

PCA Loadings plot

This function plots the relation between the original variables and the subspace dimensions. It is useful for interpreting relationships among variables.

Usage

1
2
## S3 method for class 'pca.loadings'
plot(pca_obj, nvar)

Arguments

pca_obj

an object of class pca

nvar

the number of variables to plot

...

optional graphical parameters

Author(s)

Piergiorgio Palla

Examples

1
2
3
## data(cachexiaData)
## pca_obj <- pca(cachexiaData, autoscale = TRUE, exclude = TRUE) 
## plot.pca.loadings(pca_obj, nvar = 20) 

Example output

Loading required package: AUCRF
Loading required package: randomForest
randomForest 4.6-12
Type rfNews() to see new features/changes/bug fixes.
AUCRF 1.1

Attaching package: 'RFmarkerDetector'

The following object is masked from 'package:stats':

    screeplot

RFmarkerDetector documentation built on May 2, 2019, 3:42 p.m.