Re: [Rpy] Maximum likelihooh estimation in rpy2

2011-07-12 Thread B. Santos
Thank you very much for your reply. I finally managed to get some time to get back to this. I tried to parse and evaluate the expression from R the problem is I cannot do this in multiple lines. Is there anyway to do this? Because of that I went for the second option but now I get an error. My

Re: [Rpy] Maximum likelihooh estimation in rpy2

2011-06-16 Thread Laurent Gautier
On 2011-06-16 17:20, B. Santos wrote: > Hello everyone, > > I am trying to use rpy2 to estimate the parameters of a specified function. > But I am failing miserable to understand how I can do this using rpy2. I > have the following R code: alphabeta<-function(alphabeta,x,dicerAcc) { >alpha<-alp

[Rpy] Maximum likelihooh estimation in rpy2

2011-06-16 Thread B. Santos
Hello everyone, I am trying to use rpy2 to estimate the parameters of a specified function. But I am failing miserable to understand how I can do this using rpy2. I have the following R code: alphabeta<-function(alphabeta,x,dicerAcc) { alpha <-alphabeta[1] beta <-alphabeta[2] if (any(alpha