[R] qbeta function in R

2012-03-09 Thread Anamika Chaudhuri
HI All: Does anyone know the code behind the qbeta function in R? I am using it to calculate exact confidence intervals and I am getting 'NaN' at places I shouldnt be. Heres the simple code I am using: k-3 x-NULL p-rbeta(k,3,3)# so that the mean nausea rate is alpha/(alpha+beta) min-10

Re: [R] qbeta function in R

2012-03-09 Thread David Winsemius
On Mar 9, 2012, at 2:48 PM, Anamika Chaudhuri wrote: HI All: Does anyone know the code behind the qbeta function in R? Well, yes, but don't you think it would be wise to question whether your code might be the problem rather than the R code? I am using it to calculate exact confidence

Re: [R] qbeta function in R

2012-03-09 Thread William Dunlap
Chaudhuri Sent: Friday, March 09, 2012 11:48 AM To: r-help@r-project.org Subject: [R] qbeta function in R HI All: Does anyone know the code behind the qbeta function in R? I am using it to calculate exact confidence intervals and I am getting 'NaN' at places I shouldnt be. Heres the simple

Re: [R] qbeta function in R

2012-03-09 Thread Anamika Chaudhuri
Hi David: Thanks, I actually realized it was error on my part. I didnt think there was a problem with R-code, just wanted to get a better understanding of the function qbeta. Anamika On Fri, Mar 9, 2012 at 3:04 PM, David Winsemius dwinsem...@comcast.netwrote: On Mar 9, 2012, at 2:48 PM,

Re: [R] qbeta function in R

2012-03-09 Thread R. Michael Weylandt
It's here (search the sources for the appropriately named qbeta.c) but I can't guarantee you'll understand it easily: Martin Maechler (and others) works hard to make these the best in the business, but that performance comes at a price, here paid in opacity:

[R] qbeta

2011-02-22 Thread Dr. Alireza Zolfaghari
Hi List, Does any body know how I can see the code behind qbeta function? thanks Alireza [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] qbeta

2011-02-22 Thread Philipp Pagel
On Tue, Feb 22, 2011 at 10:09:51AM +, Dr. Alireza Zolfaghari wrote: Hi List, Does any body know how I can see the code behind qbeta function? As the code seems to be internal, you'll need to download the r-source code and find it in there. In my copy of R it is here:

Re: [R] qbeta

2011-02-22 Thread Richard . Cotton
Does any body know how I can see the code behind qbeta function? As the code seems to be internal, you'll need to download the r-source code and find it in there. In my copy of R it is here: R-2.11.1/src/nmath/qbeta.c An alternative is to view the source code online. The code for qbeta is