[R] Dealing with Non-Standard Hours

2010-10-15 Thread Clint Bowman
A data set I obtained has the hours running from 01 through 24 rather than the conventional 00 through 23. My favorite, strptime, balks at hour 24. I thought it would be easy to correct but it must be too late on Friday for my brain and caffeine isn't helping. TIA for a hint, Clint --

Re: [R] Dealing with Non-Standard Hours

2010-10-15 Thread jim holtman
You could have posted an example of your data. You can use 'sub' to substitute one set of characters for another in your data. There are other ways of doing it if we had an example of your data. On Fri, Oct 15, 2010 at 5:55 PM, Clint Bowman cl...@ecy.wa.gov wrote: A data set I obtained has the