Skip to content

Instantly share code, notes, and snippets.

@nassimhaddad
Created January 16, 2013 12:06
Show Gist options
  • Save nassimhaddad/4546713 to your computer and use it in GitHub Desktop.
Save nassimhaddad/4546713 to your computer and use it in GitHub Desktop.
compare histograms by plotting their sensity functions in the same chart
plot(density(data1))
lines(density(data2), col = blue)
@nassimhaddad
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment