Re: [R] 3-d kernel smooth by the "kde" function

2012-07-19 Thread David L Carlson
r- > project.org] On Behalf Of Gary Dong > Sent: Wednesday, July 18, 2012 9:15 PM > To: r-help@r-project.org > Subject: [R] 3-d kernel smooth by the "kde" function > > Dear R community, > > I'm having hard time to understand the kde function in "ks" pac

[R] 3-d kernel smooth by the "kde" function

2012-07-18 Thread Gary Dong
Dear R community, I'm having hard time to understand the kde function in "ks" package. Let me use a 3-dimensional kernel smooth example to explain my question using the elevation data in geoR. ### here is what I did ### library(ks) require(geoR) data(elevation) elev.df <- data.frame(x = elevatio