PCA_plot: Principal component analysis chart

View source: R/PCA_plot.R

PCA_plotR Documentation

Principal component analysis chart

Description

The function performs a principal components analysis on the given data matrix and displays a biplot using vqv.ggbiplot package of the results for each different source to help the user in the decision.

Usage

PCA_plot(data, components = c(1, 2), colors = NULL)

Arguments

data

Data frame containing source and mixtures data

components

Numeric vector containing the index of the two principal components in the chart

colors

Vector of colors to use for the groups in the plot


fingerPro documentation built on Aug. 27, 2025, 5:11 p.m.