[R] Persp plotting of kernel density estimate.
Liaw, Andy
andy_liaw at merck.com
Wed Mar 17 18:45:29 CET 2004
See ?interp in the `akima' package. Also, I believe the `sm' package does
have function that produce the surface plot of 2D kernel density surface.
HTH,
Andy
> From: C Peroni
>
> Dear All,
>
> I am trying to visualize the surface of a bivariate kernel density
> estimate.
> I have a vector of bivariate observations(x,y), and a function which
> computes the kernel density estimate z corresponding to each
> observation.
> I cannot generate the (x,y) data in the ascending order needed by
> persp(x,y,z).
> I was wondering whether there is an R version of the S
> function interp.
>
> Would anybody be able to help.
> Thank you in advance.
>
> Chiara
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
>
------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments,...{{dropped}}
More information about the R-help
mailing list