Re: [R] help with 3-D plot of kernel density estimates

2009-03-17 Thread Duncan Murdoch
On 17/03/2009 6:44 AM, Josh wrote: Hi, I guess I have a naive question. I use kde2d function in a standard way to estimate kernel densities of x and y (x and y are vectors) and plot them using image(). f1=kde2d(x,y) image(f1) But what if I want to see kernel estimates of three variables, x, y a

[R] help with 3-D plot of kernel density estimates

2009-03-17 Thread Josh
Hi, I guess I have a naive question. I use kde2d function in a standard way to estimate kernel densities of x and y (x and y are vectors) and plot them using image(). f1=kde2d(x,y) image(f1) But what if I want to see kernel estimates of three variables, x, y and z (a vector) plotted together ? So