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.
PCAPlot(data, components = c(1:2))
Data frame containing source and mixtures data
Numeric vector containing the index of the two principal components in the chart