View source: R/pcaLoading1dPlot.R
pcaLoading1dPlot | R Documentation |
Plots the loadings from pcaBySvd
with line plots.
pcaLoading1dPlot(resPcaBySvd, axes = c(1, 2), title = "PCA loading plot", ...)
resPcaBySvd |
A list corresponding to the output value of |
axes |
A numerical vector with the Principal Components axes to be drawn. |
title |
Plot title. |
... |
Additional arguments to be passed to |
pcaLoading1dPlot
is a wrapper of plotLine
.
A ggplot
object with the PCA loading plot.
data('UCH') ResPCA = pcaBySvd(UCH$outcomes) pcaLoading1dPlot(resPcaBySvd = ResPCA, axes = c(1,2), title = "PCA loading plot UCH", xlab = "ppm", ylab = "Values")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.