[R] Date period

2012-08-01 Thread Васильченко Александр
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

Re: [R] Date period

2012-08-01 Thread Pascal Oettli
Hello, You can try the following: x - read.table(text=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

Re: [R] Date period

2012-08-01 Thread Rui Barradas
Hello, Try the following. dat - structure(list(date = c(2000-01-05 00:00:00, 2000-01-05 01:00:00, 2000-01-05 05:00:00, 2000-01-05 06:00:00, 2000-01-05 07:00:00, 2000-01-05 08:00:00, 2000-01-05 09:00:00, 2000-01-05 10:00:00, 2000-01-05 11:00:00, 2000-02-05 00:00:00, 2000-02-05 01:00:00,

Re: [R] Date period

2012-08-01 Thread David Winsemius
On Aug 1, 2012, at 5:33 AM, Rui Barradas wrote: Hello, Try the following. dat - structure(list(date = c(2000-01-05 00:00:00, 2000-01-05 01:00:00, 2000-01-05 05:00:00, 2000-01-05 06:00:00, 2000-01-05 07:00:00, 2000-01-05 08:00:00, 2000-01-05 09:00:00, 2000-01-05 10:00:00, 2000-01-05

Re: [R] Date period

2012-08-01 Thread David Winsemius
On Aug 1, 2012, at 12:37 AM, Pascal Oettli wrote: Hello, You can try the following: x - read.table(text=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

Re: [R] Date period

2012-08-01 Thread arun
   1.0 3 2000-01-05 05:00:00   3.6 4 2000-02-05 00:00:00   1.0 5 2000-02-05 01:00:00   1.0 6 2000-02-05 05:00:00   3.6 A.K. - Original Message - From: Васильченко Александр vasilchenko@gmail.com To: r-help@r-project.org Cc: Sent: Wednesday, August 1, 2012 2:48 AM Subject: [R] Date