Re: [R] density

From: Adaikalavan Ramasamy <ramasamy_at_cancer.org.uk>
Date: Sun, 20 May 2007 00:13:27 +0100

Try bkde2D {KernSmooth} or kde2d {MASS}.

Bruce Willy wrote:
> Hello,
>
> I have a n*2 matrix, called "plan", which contains n observations from 2 variates.
>
> I want a kernel density estimate of the joint distribution of these 2 variates.
> I try : density(plan). Unfortunately, R thinks there is 2n observations (if n=10, 20 observations), where there is only n.
>
> How to to make a multivariate kernel density estimate ?
>
> Thank you very much.
> _________________________________________________________________
>
> météo et bien plus encore !
>
> [[alternative HTML version deleted]]
>
>
>
> ------------------------------------------------------------------------
>
> ______________________________________________
> R-help_at_stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sat 19 May 2007 - 23:21:35 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 20 May 2007 - 00:31:32 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.