PCA_plot | R Documentation |
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.
PCA_plot(data, components = c(1, 2), colors = NULL)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.