Displaying 1 result from an estimated 1 matches for "janav".
Did you mean:
jadav
2008 Sep 01
2
Interpolation Problems
...ne 'approxfun' the most appropriate command to use for this purpose - I may well be wrong here though! Nevertheless, I've tried using it with the default arguments for the data frame (i.e. interp <- approxfun(dataset) ) but encounter the following errors:
> interp <- approxfun(JanAv)
Error in approxfun(JanAv) :
need at least two non-NA values to interpolate
In addition: Warning message:
In approxfun(JanAv) : collapsing to unique 'x' values
However, there are no NA values! And to double-check this, I did the following:
> JanAv[is.na(JanAv)] <- 0
...to ensur...