ggplotScores
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))
data |
the matrix of scores coming from a multivariable analysis, typically a Principal Component Analysis (PCA) |
pc1 |
the fist component of the matrix of variable loadings to be plotted. |
pc2 |
the second component of the matrix of variable loadings to be plotted. |
groups |
the vector defining the factorial groups (same dimension as data rows) |
EV |
Eigenvalues vector |
main |
the plot main title |
glabels |
boolean indicating if labels have to be plotted |
psize |
point size |
gcontour |
type of contour; possible values are : 'ellipse', 'polygon', 'ellipse2', 'none' |
params |
parameters depending on the contour type |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.