Skip to content

Instantly share code, notes, and snippets.

@rasyidstat
Created July 13, 2016 11:17
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 rasyidstat/1ad76f93586257baa97bc597557b71c8 to your computer and use it in GitHub Desktop.
Save rasyidstat/1ad76f93586257baa97bc597557b71c8 to your computer and use it in GitHub Desktop.
# Correlation
library(Hmisc)
cor <- rcorr(as.matrix(heart))
library(corrplot)
corrplot(cor$r)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment