Skip to content

Instantly share code, notes, and snippets.

@monogenea
Created October 7, 2019 19:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save monogenea/cd189cd8cd01f53b8b21976b52c9d199 to your computer and use it in GitHub Desktop.
Save monogenea/cd189cd8cd01f53b8b21976b52c9d199 to your computer and use it in GitHub Desktop.
winePCAmethods <- pca(wine[,-1], scale = "uv", center = T,
nPcs = 2, method = "svd")
slplot(winePCAmethods, scoresLoadings = c(T,T),
scol = wineClasses)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment