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

2008-03-20 Thread David Winsemius
Emmanuel Levy [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: Dear David, Thanks a lot for pointing out kde2d, just tried it out but the problem is that it indeed takes the density of points into account, which I dont want. For example, if in an region of surface S I've got 10,000

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

2008-03-19 Thread Emmanuel Levy
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

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

2008-03-19 Thread Bert Gunter
] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Levy Sent: Wednesday, March 19, 2008 12:42 PM To: r-help@r-project.org Subject: [R] Smoothing z-values according to their x, y positions Dear All, I'm sure this is not the first time this question comes up but I couldn't find the keywords

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

2008-03-19 Thread Emmanuel Levy
PROTECTED] On Behalf Of Emmanuel Levy Sent: Wednesday, March 19, 2008 12:42 PM To: r-help@r-project.org Subject: [R] Smoothing z-values according to their x, y positions Dear All, I'm sure this is not the first time this question comes up but I couldn't find the keywords that would

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

2008-03-19 Thread David Winsemius
Emmanuel Levy [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: Dear Bert, Thanks for your reply - I indeed saw a lot of functions using: help.search(smooth) The problem is that most seem to not be very appropriate to what I'd like, or they seem extremely complicated (e.g. gma). I am

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

2008-03-19 Thread Emmanuel Levy
Dear David, Thanks a lot for pointing out kde2d, just tried it out but the problem is that it indeed takes the density of points into account, which I dont want. For example, if in an region of surface S I've got 10,000 points, and that their average height is 0.5, and in an other region I've