Skip to content
Prev 303400 / 398503 Next

boxplot help

Hi Andy,

Nice plot but yes, probably not exactly what you want.  

Thanks for providing the code.  The nextthing you need to do is to send us some data to go with the code.  There is a very handy function called dput() , which converts a dataset into a format that you can just copy from your R terminal and paste into an email that allows readers to work wiith your data or a sample of it.

If the dataset is really large then something like dput(head (mydata, 50))  will supply the first fifty rows of data for us to work with.

One of your problems seems to be that your dates are character values and need to be converted into datesfor you to get the chronological date order.  See ?strptime  or perhaps install the lubridate package for help there.

Otherwise welcome to R 

Note to other readers : I think I actually got the dput syntax this time!!

John Kane
Kingston ON Canada
____________________________________________________________
GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at http://www.inbox.com/smileys
Works with AIM?, MSN? Messenger, Yahoo!? Messenger, ICQ?, Google Talk? and most webmails