[R] density

From: Bruce Willy <croero_at_hotmail.com>
Date: Sat, 19 May 2007 16:09:01 +0000


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. Received on Sat 19 May 2007 - 16:14:37 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 Mon 21 May 2007 - 16:30:57 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.