[R] Smoothing z-values according to their x, y positions

From: Emmanuel Levy <emmanuel.levy_at_gmail.com>
Date: Wed, 19 Mar 2008 19:42:11 +0000


Dear All,

I'm sure this is not the first time this question comes up but I couldn't find the keywords that would point me out to it - so apologies if this is a re-post.

Basically I've got thousands of points, each depending on three variables: x, y, and z.

if I do a plot(x,y, col=z), I get something very messy.

So I would like to smooth the values of z according to the values of their neighbors (given by x and y).

Could you please point me out to the function(s) I should look into for the smothing, and
possibly for the plotting?

Many thanks for your help,

Emmanuel



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 19 Mar 2008 - 20:16:40 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 19 Mar 2008 - 22:30:22 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive