pcaLoading1dPlot: Loadings represented on a line plot.

View source: R/pcaLoading1dPlot.R

pcaLoading1dPlotR Documentation

Loadings represented on a line plot.

Description

Plots the loadings from pcaBySvd with line plots.

Usage

pcaLoading1dPlot(resPcaBySvd, axes = c(1, 2), title = "PCA loading plot", ...)

Arguments

resPcaBySvd

A list corresponding to the output value of pcaBySvd.

axes

A numerical vector with the Principal Components axes to be drawn.

title

Plot title.

...

Additional arguments to be passed to plotLine.

Details

pcaLoading1dPlot is a wrapper of plotLine.

Value

A ggplot object with the PCA loading plot.

Examples


data('UCH')
ResPCA = pcaBySvd(UCH$outcomes)

pcaLoading1dPlot(resPcaBySvd = ResPCA, axes = c(1,2),
title = "PCA loading plot UCH", xlab = "ppm", ylab = "Values")

bgovaerts/LMWiRe documentation built on Sept. 17, 2022, 12:32 a.m.