Shows a scores plot for selected components.
# S3 method for pca
plotScores(obj, comp = c(1, 2), type = "p", main = "Scores",
xlab = NULL, ylab = NULL, show.labels = F, show.legend = NULL,
cgroup = NULL, show.axes = TRUE, ...)
a PCA model (object of class pca
)
a value or vector with several values - number of components to show the plot for
type of the plot ('b', 'l', 'h')
main title for the plot
label for x axis
label for y axis
logical, show or not labels for the plot objects
logical, show or not a legend on the plot
a vector with numeric values or a factor used for color grouping of plot points.
logical, show or not a axes lines crossing origin (0,0)
other plot parameters (see mdaplotg
for details)
See examples in help for pca
function.