[R] surface interpolating 3d

2009-04-23 Thread calpeda
Hi all, When you want to draw a surface with a mathematics program you need of two vectors x and y and a matrix z. Then you plot the surface. For example: x=[1 2 3]; y=[5 6 7]; z=[1 2 3 4 5 6 7 8 9]; For my applications I have a 3 vectors x, y, z, that are the coordinates x, y, and z of

Re: [R] surface interpolating 3d

2009-04-23 Thread Kingsford Jones
There are a variety of interplation tools to choose from (kriging, splines, inverse-distance-weighting, ...), and a variety of ways to do each of these in R. For example, have a look at the help page and examples for krige in package gstat, krige.conv in geoR, or Krig in package fields. hth,