Guest User

Untitled

a guest
Jan 18th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. > head(sweet)
  2. interval urgency success
  3. 1 3138 761 1
  4. 2 3210 2189 1
  5. 3 3243 1256 1
  6. 4 8776 823 1
  7. 5 3094 1405 1
  8. 6 3137 1062 1
  9.  
  10. ggplot(sweet, aes(x=urgency, fill=success==0)) + geom_histogram(position='fill')
  11.  
  12. ggplot(sweet, aes(x=urgency, y=interval, fill=success==0)) + geom_bin2d()
  13.  
  14. ggplot(sweet, aes(interval, urgency, z = success)) + stat_summary2d()
Add Comment
Please, Sign In to add comment