[R] function approx interpolation of time series data sets
inpost at gmail.com
Wed Jan 16 09:52:00 CET 2013
Am trying to use the function 'approx' to interpolate time series data sets:
The objective is to obtain interpolated values of 'data1' column 2 (5,
10, 12, 7) for the times shown in data2. Tried the following command
but received the error shown:
Error in approx(data1, xout = data2) :
(list) object cannot be coerced to type 'double'
What is my mistake please?
More information about the R-help