[R] density function

Rui Barradas ruipbarradas at sapo.pt
Wed Jun 27 13:03:39 CEST 2012


Hello,

Maybe the link below is of some use.

http://stats.stackexchange.com/questions/14061/area-under-the-pdf-in-kernel-density-estimation-in-r

Hope this helps,

Rui Barradas


Em 27-06-2012 01:13, pilaw escreveu:
> Hello,
>
> I need density function so that I can find expected value (using
> integration). I use density():
> f= density(data)
> but f isn't a function and I can't get values and integrate it
> This is very urget, so please help.
>
> Greetings
> Peter
>
> --
> View this message in context: http://r.789695.n4.nabble.com/density-function-tp4634563.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org 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.
>



More information about the R-help mailing list