Skip to content

Instantly share code, notes, and snippets.

@nopps07
Created March 12, 2021 09:10
Show Gist options
  • Save nopps07/a62b91b4e8aa138a657b7036b08c1127 to your computer and use it in GitHub Desktop.
Save nopps07/a62b91b4e8aa138a657b7036b08c1127 to your computer and use it in GitHub Desktop.
{r correlation}
library(corrplot)
# we obtain the correlation scores of the variables
wine_cor <- cor(wine)
# and we visualise
corrplot(wine_cor)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment