[R] Code density functions

From: F Z <gerifalte28_at_hotmail.com>
Date: Wed 07 Jul 2004 - 05:39:38 EST


Hello

I would like to see the algorithm that R uses to generate density functions for several distributions (i.e. Normal,Weibull, etc). I tried:

>dnorm

function (x, mean = 0, sd = 1, log = FALSE) .Internal(dnorm(x, mean, sd, log))
<environment: namespace:stats>

How can I see the code used for densities?

Thanks!



R-help@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 Received on Wed Jul 07 07:36:04 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:46:01 EST