Created
October 7, 2019 19:06
-
-
Save monogenea/e8401589fed7456281b629e71500fb20 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dev.off() # clear the format from the previous plot | |
winePCA <- prcomp(scale(wine[,-1])) | |
plot(winePCA$x[,1:2], col = wineClasses) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment