Re: [R] Alternative to interp.surface() offered

2011-10-24 Thread Waichler, Scott R
This is a correction to a post from 3/10/09. I just wanted to get this in the archive. It is the same thread as http://www.mail-archive.com/r-help@r-project.org/msg48762.html Thanks to Matt Oliver for bringing this to my attention. The correct code for my.interp.surface() follows. # A fun

[R] Alternative to interp.surface() offered

2009-03-10 Thread Waichler, Scott R
I wanted a simple function for bilinear interpolation on a 2-D grid, and interp.surface() in the fields package didn't quite suit my needs. In particular, it requires uniform spacing between grid points. It also didn't have the "visual" reference frame I was looking for. Here is an alternative f