[R] Problems with bilinear interpolation of a grid

2009-06-21 Thread Andrew Aldersley
Dear all, I'm having trouble interpolating a number of gridded datasets that I have. I'm quite new to R so any help/advice that can be offered would be much appreciated! Firstly I'll describe my dataset. The data is a grid of the planet at 1 degree spatial resolution, with each grid cell

Re: [R] Problems with bilinear interpolation of a grid

2009-06-21 Thread David Winsemius
Both from the code and the error message it appears that you are creating character matrices and unrealistically expecting a function designed for numeric input to accept those as arguments. ?sprintf It appears you are hoping that sprintf gets you something you desire, but to my eyes it