Skip to content

Instantly share code, notes, and snippets.

@Endika
Created May 20, 2016 09:28
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 Endika/fb6acf0d1e6d10b4a3f8a20faeadd6ff to your computer and use it in GitHub Desktop.
Save Endika/fb6acf0d1e6d10b4a3f8a20faeadd6ff to your computer and use it in GitHub Desktop.
My first R code
x<-rnorm(1000)
hx<-hist(x,breaks=100,plot=FALSE)
plot(hx,col=ifelse(abs(hx$breaks) < 1.669,4,2))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment