[R] Regularized gamma function/ incomplete gamma function

2009-12-11 Thread A.Noufaily
Dear all, I would be very grateful if you could help me with: Given the regularized gamma function Reg=int_0^r (x^(k-1)e^(-x))dx/int_0^Inf (x^(k-1)e^(-x))dx ; 0https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide

[R] Running Fortran code from R

2011-04-26 Thread A.Noufaily
Dear R users, I have a Fortran code that I would like to compile and call from R later. I have never worked with Fortran before. Does anyone know the steps to create Fortran DLLs for R on a Windows PC. Is anyone aware of a manual (or does anyone know how to) that explains: - What tools

[R] Error reporting in R

2008-10-20 Thread A.Noufaily
Hello, I am hoping someone can help me with the following: I am applying the function "mle" on a single data set X n times, each time using a different set of initial values v[i] (i=1,...,n). The initial values are all finite. Two cases arise: A- For some sets of initial values mle is giving par

[R] Computational problems in R

2008-10-24 Thread A.Noufaily
Dear all, I would be grateful if anyone can help me with the following: My aim is to compute explicitely the sum S=A+B where A=sum(exp(c_i/d)), i=1,...,n; B, c_i, and d are real numbers with -Inf0. The problem is that when c_i/d >710 (for some i) R is setting exp(c_i/d) to be equal to +Inf and h

Re: [R] Computational problems in R

2008-10-27 Thread A.Noufaily
. However, I might still use logs in case (1 + B/A)>0. Regards, Amy -Original Message- From: Duncan Murdoch [mailto:[EMAIL PROTECTED] Sent: Saturday, October 25, 2008 11:36 AM To: Steven McKinney Cc: A.Noufaily; r-help@r-project.org Subject: Re: [R] Computational problems in R On 24