Re: [R] akima interpolation and triangulation question

2008-05-29 Thread steven wilson
thanks. one more thing w/r this particular data set: tri.mesh doesn't work in R but triangulation (S+SpatialStats) does work interp.old (diff ncp) doesn't work in R but it does in Splus for the same ncp values??? so,R or SPlus? who's right? On Thu, May 29, 2008 at 4:34 AM, Prof Brian Riple

Re: [R] akima interpolation and triangulation question

2008-05-29 Thread Prof Brian Ripley
You have repeated (u,v) values in your data frame. It is not possible to interpolate such data, and I get an error from 'interp' (not NAs). *** SDTRAN Error 2: The first three data points are collinear. There is no problem with interpolating from a regular grid, but be aware that the triangul

[R] akima interpolation and triangulation question

2008-05-29 Thread steven wilson
Dear all; First of all, this is probably a more conceptual question than a R-related one, but still want to give it a try. When working with the interpolation function "interp" from the package akima and the triangulation function "tri.mesh" from package tripack I've got NA's for the interpolation