Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
PCA <- prcomp(iris[,1:4], scale=T)
fviz(PCA, "var")
fviz(PCA, "ind", repel=T, habillage = iris$Species, label='none')
fviz_ellipses(PCA,habillage = iris$Species, ellipse.type = "convex", geom="point") +

This comment has been minimized.

Copy link
Owner Author

wabarr commented Mar 11, 2017

this shows how to plot PCA variables, as well as individuals and to plot minimum convex hulls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.