Re: [R] error msg using na.approx x and index must have the same length

2012-10-14 Thread R. Michael Weylandt
On Fri, Oct 12, 2012 at 1:26 AM, Jay Rice jsric...@gmail.com wrote: Below I have written out some simplified data from my dataset. My goal is to interpolate Price based on timestamp. Therefore the closer a Price is in time to another price, the more like that price it will be. I want the

[R] error msg using na.approx x and index must have the same length

2012-10-11 Thread Jay Rice
Below I have written out some simplified data from my dataset. My goal is to interpolate Price based on timestamp. Therefore the closer a Price is in time to another price, the more like that price it will be. I want the interpolations for each St and not across St (St is a factor with levels A,