Plots the two components defined by pc1, pc2 of the matrix of scores coming from a multivariable analysis, typically a Principal Component Analysis (PCA).
ggplotScores(
data,
pc1 = 1,
pc2 = 2,
groups = NULL,
EV = NULL,
main = "Scores",
glabels = FALSE,
psize = 3,
gcontour = "ellipse",
params = list(cellipse = 0.95)
)
the matrix of scores coming from a multivariable analysis, typically a Principal Component Analysis (PCA)
the fist component of the matrix of variable loadings to be plotted.
the second component of the matrix of variable loadings to be plotted.
the vector defining the factorial groups (same dimension as data rows)
Eigenvalues vector
the plot main title
boolean indicating if labels have to be plotted
point size
type of contour; possible values are : 'ellipse', 'polygon', 'ellipse2', 'none'
parameters depending on the contour type