Can you provide a dput() example of your data and put it in a workable form -- I have no idea what that long list of numbers nor the 1 / 0 on the end represent. I think if you do this with a real time series class like xts you can create a new object with the interpolated times; fill in the values you know and leave the rest as NAs and then use a variety of NA interpolation options.
Michael On Wed, Nov 16, 2011 at 9:56 AM, David Winsemius <dwinsem...@comcast.net> wrote: > > On Nov 16, 2011, at 8:56 AM, abcdef ghijk 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. > > Please don't cross post on R help and StackOverflow. > > -- > > David Winsemius, MD > West Hartford, CT > > ______________________________________________ > 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. > ______________________________________________ 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.