[R] Dealing with Non-Standard Hours

jim holtman jholtman at gmail.com
Sat Oct 16 02:28:18 CEST 2010


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 <clint at ecy.wa.gov> wrote:
> 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
>
> --
> Clint Bowman                    INTERNET:       clint at ecy.wa.gov
> Air Quality Modeler             INTERNET:       clint at math.utah.edu
> Department of Ecology           VOICE:          (360) 407-6815
> PO Box 47600                    FAX:            (360) 407-7534
> Olympia, WA 98504-7600
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?



More information about the R-help mailing list