Re: [R] density

From: Emilio Tortosa Ausina <Emili.Tortosa_at_eco.uji.es>
Date: Sat, 19 May 2007 19:23:19 +0200

There's a nice package ('ks') which even allows you to specify a matrix of bandwidths (not only one bandwidth for each coordinate direction).

Hope this helps,

Emili

Missatge citat per Bruce Willy <croero_at_hotmail.com>:

>
> 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. Received on Mon 21 May 2007 - 16:23:53 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 - 17:31:14 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.