Skip to content
Prev 1432 / 29559 Next

Surface Maps

On Wed, 25 Oct 2006, Arien Lam wrote:

            
Typical advice is to interpolate using splines, for example interp() in 
the akima package, Tps in the fields package, or you may like to try out 
this new package:

The new Multilevel B-spline Approximation (MBA) R package fits B-spline 
surfaces to bivariate scattered data. The mba.surf function is similar 
to Akima's interp function, but provides improved surface fit 
characteristics, efficiency for large datasets, and extended 
functionality. Additional package information is available on CRAN and 
http://blue.fr.umn.edu/MBA

just on CRAN from Andrew Finley.

Of course, interpolation is about creating data where you don't have any, 
so no single solution is best for all data sets. If you want to display 
the output using spplot, you'll need to get the output into at least a 
SpatialPixelsDataFrame object.

Roger