Re: [R] Interpolation Problems

2008-09-02 Thread Pedro.Rodriguez
ueToCheck-x0)*(y1-y0)/(x1-x0) } } return(y) } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Murray Sent: Monday, September 01, 2008 6:17 PM To: r-help@r-project.org Subject: [R] Interpolation Problems Dear all, I'm trying to interpolate a datase

Re: [R] Interpolation Problems

2008-09-02 Thread Roger Bivand
Steve Murray hotmail.com> writes: > > > Thanks Duncan - a couple of extra points... I should have perhaps pointed > out that the data are on a *regular* > 'box' grid (with each value currently spaced at 1 degree intervals). Also, > I'm looking for something > fairly simple, like a bilinear i

Re: [R] Interpolation Problems

2008-09-02 Thread Steve Murray
again, Steve > Date: Mon, 1 Sep 2008 18:45:35 -0400 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > CC: r-help@r-project.org > Subject: Re: [R] Interpolation Problems > > On 01/09/2008 6:17 PM, Steve Murray wrote: >> Dear all, >> >> I'm trying to inte

Re: [R] Interpolation Problems

2008-09-01 Thread Duncan Murdoch
On 01/09/2008 6:17 PM, Steve Murray wrote: Dear all, I'm trying to interpolate a dataset to give it twice as many values (I'm giving the dataset a finer resolution by interpolating from 1 degree to 0.5 degrees) to match that of a corresponding dataset. I have the data in both a data frame for

[R] Interpolation Problems

2008-09-01 Thread Steve Murray
Dear all, I'm trying to interpolate a dataset to give it twice as many values (I'm giving the dataset a finer resolution by interpolating from 1 degree to 0.5 degrees) to match that of a corresponding dataset. I have the data in both a data frame format (longitude column header values along t