pcaPlot: PCA plot

View source: R/pcaPlot.R

pcaPlotR Documentation

PCA plot

Description

Plot the items loadings along the principal components.

Usage

pcaPlot(x, labels = NA, n_comp = 10)

Arguments

x

A matrix of the loadings of each item upon each component (the "x" part of the prcomp() output).

labels

A vector of the labels associated with the rows of x.

n_comp

The number of components to plot.

Value

A “ggplot2” object.


stcolema/mdiHelpR documentation built on July 28, 2024, 5:41 a.m.