Hello
I have dataframe
How to remove dates in hourly time seriesThe example time series likedate
                               value
2000-01-05 00:00:00           1.0
2000-01-05 01:00:00           1.0
2000-01-05 05:00:00           3.6
2000-01-05 06:00:00           3.6
2000-01-05 07:00:00           2.2
2000-01-05 08:00:00           2.2
2000-01-05 09:00:00           2.2
2000-01-05 10:00:00           2.2
2000-01-05 11:00:00           2.2
2000-02-05 00:00:00           1.0
2000-02-05 01:00:00           1.0
2000-02-05 05:00:00           3.6
2000-02-05 06:00:00           3.6
2000-02-05 07:00:00           2.2
2000-02-05 08:00:00           2.2
2000-02-05 09:00:00           2.2
2000-02-05 10:00:00           2.2
2000-02-05 11:00:00           2.2

And I take interval for example from 00:00:00 to 05:00:00.
date                                  value
2000-01-05 00:00:00           1.0
2000-01-05 01:00:00           1.0
2000-01-05 05:00:00           3.6
2000-02-05 00:00:00           1.0
2000-02-05 01:00:00           1.0
2000-02-05 05:00:00           3.6
Regards, Aleksander.

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to