Re: [R] beginner question - effective way to chart sleep habits

2011-07-01 Thread Peter
On Fri, Jul 1, 2011 at 9:45 PM, Joshua Wiley wrote: > Hi Peter, > > There are lots and lots of ways. Here are examples of a few that came > to mind. If you have never used the ggplot2 package, you will first > need to install it, which you can do by typing: > > [snip] Incredible! This gives

Re: [R] beginner question - effective way to chart sleep habits

2011-07-01 Thread Joshua Wiley
Hi Peter, There are lots and lots of ways. Here are examples of a few that came to mind. If you have never used the ggplot2 package, you will first need to install it, which you can do by typing: install.packages("ggplot2") The code below should run "as is". You may see various trends over ti

[R] beginner question - effective way to chart sleep habits

2011-07-01 Thread Peter
Hi - beginning R user question here - each day, over the course of several months, I've tracked the time I go to bed, the time I wake up, and my hours spent sleeping. What would be a good way to display this information? I think it would be ideal to show something resembling a bar and whisker gra