Advertisement
Guest User

Untitled

a guest
Mar 5th, 2015
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. Time Endpoint.Value PlasmaConc Group AnimalID
  2. 0 120 .8 1 1
  3. 2 140 .4 1 1
  4. 4 115 .2 1 1
  5. 8 108 .1 1 1
  6. 24 100 .0 1 1
  7. 0 115 .9 1 2
  8. 2 130 .7 1 2
  9. 4 112 .4 1 2
  10. 8 110 .3 1 2
  11. 24 107 .1 1 2
  12. ...
  13. 0 112 .6 1 12
  14. 2 104 .5 1 12
  15. 4 98 .2 1 12
  16. 8 78 .15 1 12
  17. 24 58 .08 1 12
  18.  
  19.  
  20.  
  21. endpointPlot <- ggplot(data = allData, aes(x = Time, y = Endpoint.Value, group = Group, color = Group)) + geom_point()+
  22. stat_summary(geom = "point", fun.y = mean, shape = 17, size = 7)+
  23. stat_smooth(aes(fill = Group))+
  24. ggtitle("Endpoint (Glucose) vs Time with smoothed standard errors by Group")
  25.  
  26. concentrationPlot <- ggplot(data = allData, aes(x = Time, y = PlasmaConc, group = Group, color = Group)) + geom_point()+
  27. stat_summary(geom = "point", fun.y = mean, shape = 17, size = 7)+
  28. stat_smooth(aes(fill = Group))+
  29. ggtitle("Plasma Concentration vs Time with smoothed standard errors by Group")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement