[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

[R] insert missing dates

2012-07-03 Thread Васильченко Александр
Hello I have dataframes. mydata1 -data.frame(value=c(15,20,25,30,45,50),dates=c(2005-05-25 07:00:00 ,2005-05-25 19:00:00,2005-06-25 07:00:00,2005-06-25 19:00:00 ,2005-07-25 07:00:00,2005-8-25 19:00:00)) or mydata2 -data.frame(value=c(15,20,25,30,45,50),dates=c(2005-05-25 00:00:00 ,2005-05-25

[R] Intersection

2012-06-26 Thread Васильченко Александр
Hello. I have a problem with 2 dataframes. There are 2 columns - value and dates. These dataframes have different dimension. Some dates coincide. And I need to intersect them by dates and have on output two dataframes with identical columns dates and new dimension . value have to recieve in