plotBiplot.pca | R Documentation |
Shows a biplot for selected components.
## S3 method for class 'pca'
plotBiplot(
obj,
comp = c(1, 2),
pch = c(16, NA),
col = mdaplot.getColors(2),
main = "Biplot",
lty = 1,
lwd = 1,
show.labels = FALSE,
show.axes = TRUE,
show.excluded = FALSE,
lab.col = adjustcolor(col, alpha.f = 0.5),
...
)
obj |
a PCA model (object of class |
comp |
a value or vector with several values - number of components to show the plot for |
pch |
a vector with two values - markers for scores and loadings |
col |
a vector with two colors for scores and loadings |
main |
main title for the plot |
lty |
line type for loadings |
lwd |
line width for loadings |
show.labels |
logical, show or not labels for the plot objects |
show.axes |
logical, show or not a axes lines crossing origin (0,0) |
show.excluded |
logical, show or hide rows marked as excluded (attribute 'exclrows') |
lab.col |
a vector with two colors for scores and loadings labels |
... |
other plot parameters (see |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.