| biPlot | R Documentation |
biPlot performs a principal components analysis and displays the variables
and observations in the space of the first two principal components.
biPlot(data, ...)
data |
a data frame. |
... |
parameters passed to the |
The biPlot function is a wrapper for the
prcomp and
fviz_pca_biplot functions. For the former,
center=TRUE and scale=TRUE are set. For the later,
repel=TRUE is set.
a ggplot2 graph
biPlot(USArrests)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.