plotContrib: plotContrib

Description Usage Arguments Value

Description

plots the contribution of variables in pca in ggplot

Usage

1
plotContrib(pca.obj, PC, first = 10)

Arguments

pca.obj

Takes pca object made by just.pca()

PC

Integer input of which PC dimension should be plotted

first

Integer input. Returns the first 10 most contributing variables by default.

Value

ggplot bar plot of the the most contributing variables to a PC dimension.


jtlandis/justinmisc documentation built on May 25, 2019, 8:18 a.m.