[R] Contouring irregular xyz data via TIN

Hisaji Ono hi_ono2001 at ybb.ne.jp
Fri Aug 15 01:31:34 CEST 2003


Hi, Kris.

> Dear,
>
> I have XYZ data available in a MySQL database. I get it out, can plot
> the data with the plot() function, load it into a geoR datastructure.
> But what I actually would like to do is a simple contouring of the data
> based on a no Kriging interpolation such as TIN based.
>
> I know the first thing I shold do is interpolate a full matrix for the
> region I have my points for, then contour should do its work. Any idea
> which function can be used for XYZ interpolations, maybe/hopefully based
> on a Delaunay triangulation in combination with linear or spline
> interpolation. Is there a package that allows me to do this?
>

I found following URL. It's an example  for S-PLUS, so you might need some
modifications.

http://geography.uoregon.edu/courses/geog414f01/lectures/lec10.htm

I hope this would help you.




More information about the R-help mailing list