plotPcaElbow | R Documentation |
This function generates an elbow plot for the principal component analysis (PCA) of the given object.
plotPcaElbow(object, elbow = FALSE)
object |
An object of class |
elbow |
Logical. If TRUE, a vertical line is added to the plot indicating the elbow point. |
This function calculates the standard deviation of each principal component and plots them.
If the elbow
parameter is set to TRUE, a vertical line is added at the elbow point,
which is calculated using a helper function find_elbow_point()
.
A ggplot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.