One option would be, after you have converted one of your date/time variables (V2 I would assume) to POSIXct class, you can use the interp() function in the akima package for linear interpolation between adjacent time points.
-Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 On 11/16/11 5:56 AM, "abcdef ghijk" <lineh...@yahoo.com> wrote: >I have a huge data set in the form of > V1 V2 V3 V4 V5 V6 >1 201005010000201005010000 1.68291.38 1 0 >2 201005010000201005010300 0.93335.10 1 0 >3 201005010000201005010600 2.25 57.38 1 0 >4 201005010000201005010900 0.43 13.76 1 0 >5 201005010000201005011200 0.74101.14 1 0 > >I am interested in interpolating it on an hour basis(it's for avery 3 >hours). Data is also being updated after every six hours for next eight >days. >Thanks in advance. > [[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.