Re: [R] Kernel density estimate plot for 3-dimensional data

2010-05-04 Thread Pascal Martin
('x','y','z')) Von: Duncan Murdoch CC: r-help@r-project.org Gesendet: Dienstag, den 4. Mai 2010, 16:46:03 Uhr Betreff: Re: [R] Kernel density estimate plot for 3-dimensional data On 04/05/2010 10:33 AM, Pascal Martin wrote: > Hi!

[R] Kernel density estimate plot for 3-dimensional data

2010-05-04 Thread Pascal Martin
Hi! I have a problem with Kernel density estimate plot for 3-dimensional data in ks-package. Here the example: # load ks, spatstat # three-dimensional kernel density of B B <- pp3(runif(300), runif(300), runif(300), box3(c(0,1))) x <- unclass(B$data)$df H <- Hpi(x) fhat <- kde(x, H=H) plot(fhat)