search for: intepolate

Displaying 1 result from an estimated 1 matches for "intepolate".

Did you mean: interpolate
2011 Dec 24
1
linear interpolation of time series
...lar time series say x and y. Each series is supposed to cover 20 years. The data looks, for instance: x<-c(200,178, 330, 127, 420) ## only 5 observations out of the expected 20 annual values y<-c(0.35,-0.18,-0.54,0.78,1.7,-1.1,0.2,1.9,0.49)### only 9 observations of the expected 20 I need to intepolate each of the series into equally spaced 20 points. Is there a function and library in R to do this please? Many thanks Tsegaye [[alternative HTML version deleted]]