[R] Code density functions
andy_liaw at merck.com
Wed Jul 7 00:35:24 CEST 2004
Dear <insert your name here>:
You need to look at the C-level source codes, in R-1.9.1/src/nmath/d*.c.
> From: F Z
> I would like to see the algorithm that R uses to generate
> density functions
> for several distributions (i.e. Normal,Weibull, etc). I tried:
> 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?
More information about the R-help