Description Usage Arguments Details Value Examples
Draws scores plots for the SVDforPCA, PLSDA or OPLSDA functions.
1 2 3 4 |
obj |
The objects resulting from a PCA, PLSDA or OPLSDA analysis. |
type.obj |
The type of object to be plotted. |
drawNames |
If |
createWindow |
If |
main |
Plot title. If |
color |
Optional character, factor or numeric vector giving the color of the observations. |
pch |
Optional character, factor or numeric vector giving the pch of the observations. |
size |
The points size. |
cex.lab |
The size of points labels. |
axes |
Numerical vector indicating the PC axes that are drawn. Only the two first values are considered for scores plot. See details#' @param num.stacked Number of stacked plots if |
xlab |
Label for the x-axis. |
ylab |
Label for the y-axis. |
drawEllipses |
If |
typeEl |
The type of ellipse, either "norm" (multivariate normal distribution), "t" (multivariate t-distribution) and "euclid" draws a circle with the radius equal to level, representing the euclidean distance from the center. |
levelEl |
The confidence level at which to draw an ellipse. |
If type.obj
is 'OPLSDA'
, axes = 1 represents the predictive score vector, axes = 2 represents the first orthogonal score vector, etc.
A score or loading plot in the current device.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.