Dear Ranjan,
thanks, that was what I was looking for. Somehow my 'grep' must have
missed that.
Cheers,
Marius
On Wed, Aug 27, 2014 at 8:34 AM, Marius Hofert
wrote:
> Dear Sarah, Dear David,
>
> thanks for helping. I know the FAQ and I know the R News article, but
> I still couldn't figure it
Hi,
I have not followed the e-mail trail, but if you are looking for the C
source code for pbinom, then it is pbinom.c in src/nmath.
HTH,
Ranjan
On Wed, 27 Aug 2014 08:34:11 -0400 Marius Hofert
wrote:
> Dear Sarah, Dear David,
>
> thanks for helping. I know the FAQ and I know the R News arti
Dear Sarah, Dear David,
thanks for helping. I know the FAQ and I know the R News article, but
I still couldn't figure it out. First, pbinom calls
.External(C_pbinom,...). Grepping for C_pbinom reveals... nothing
(except the appearance in .External). Going to ./src/main/names.c
reveals "{"pbinom",
R FAQ 7.40
http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-do-I-access-the-source-code-for-a-function_003f
Sarah
On Tuesday, August 26, 2014, Marius Hofert
wrote:
> Dear expeRts,
>
> I would like to find out how R computes pbinom(). A grep in the
> source code reveiled src/library/stats/R/dis
On Aug 26, 2014, at 8:14 PM, Marius Hofert wrote:
Dear expeRts,
I would like to find out how R computes pbinom(). A grep in the
source code reveiled src/library/stats/R/distn.R:146:
.External(C_pbinom, q, size, prob, lower.tail, log.p), so
'C_pbinom' refers to compiled C/C++ code loaded into R
Dear expeRts,
I would like to find out how R computes pbinom(). A grep in the
source code reveiled src/library/stats/R/distn.R:146:
.External(C_pbinom, q, size, prob, lower.tail, log.p), so
'C_pbinom' refers to compiled C/C++ code loaded into R. Where can
I find the source code of C_pbinom?
Cheer
6 matches
Mail list logo