Re: [Rd] suggested modification to the 'mle' documentation?

2007-12-08 Thread Luke Tierney
On Fri, 7 Dec 2007, Ben Bolker wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luke Tierney wrote: On Fri, 7 Dec 2007, Duncan Murdoch wrote: For working at the general likelihood I think is is better to encourage the approach of definign likelihood constructor functions. The

Re: [Rd] suggested modification to the 'mle' documentation?

2007-12-08 Thread Luke Tierney
On Sat, 8 Dec 2007, Peter Dalgaard wrote: Luke Tierney wrote: [misc snippage] But I'd prefer to avoid the necessity for users to manipulate the environment of a function. I think the pattern model( f, data=d ) For working at the general likelihood I think is is better to encourage

Re: [Rd] suggested modification to the 'mle' documentation?

2007-12-07 Thread Duncan Murdoch
On 12/7/2007 8:10 AM, Peter Dalgaard wrote: Ben Bolker wrote: At this point I'd just like to advertise the bbmle package (on CRAN) for those who respectfully disagree, as I do, with Peter over this issue. I have added a data= argument to my version of the function that allows other

Re: [Rd] suggested modification to the 'mle' documentation?

2007-12-07 Thread Ben Bolker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gabor Grothendieck wrote: On Dec 7, 2007 8:43 AM, Duncan Murdoch [EMAIL PROTECTED] wrote: On 12/7/2007 8:10 AM, Peter Dalgaard wrote: This is at least cleaner than abusing the fixed argument. Agreed. As you know, I have reservations, one

Re: [Rd] suggested modification to the 'mle' documentation?

2007-12-07 Thread Peter Dalgaard
Ben Bolker wrote: At this point I'd just like to advertise the bbmle package (on CRAN) for those who respectfully disagree, as I do, with Peter over this issue. I have added a data= argument to my version of the function that allows other variables to be passed to the objective function.

Re: [Rd] suggested modification to the 'mle' documentation?

2007-12-07 Thread Gabor Grothendieck
On Dec 7, 2007 8:43 AM, Duncan Murdoch [EMAIL PROTECTED] wrote: On 12/7/2007 8:10 AM, Peter Dalgaard wrote: Ben Bolker wrote: At this point I'd just like to advertise the bbmle package (on CRAN) for those who respectfully disagree, as I do, with Peter over this issue. I have added a

Re: [Rd] suggested modification to the 'mle' documentation?

2007-12-07 Thread Gabor Grothendieck
On Dec 7, 2007 8:10 AM, Peter Dalgaard [EMAIL PROTECTED] wrote: Ben Bolker wrote: At this point I'd just like to advertise the bbmle package (on CRAN) for those who respectfully disagree, as I do, with Peter over this issue. I have added a data= argument to my version of the function

Re: [Rd] suggested modification to the 'mle' documentation?

2007-12-07 Thread Ben Bolker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luke Tierney wrote: On Fri, 7 Dec 2007, Duncan Murdoch wrote: For working at the general likelihood I think is is better to encourage the approach of definign likelihood constructor functions. The problem with using f, data is that you need

Re: [Rd] suggested modification to the 'mle' documentation?

2007-12-07 Thread Luke Tierney
On Fri, 7 Dec 2007, Duncan Murdoch wrote: On 12/7/2007 8:10 AM, Peter Dalgaard wrote: Ben Bolker wrote: At this point I'd just like to advertise the bbmle package (on CRAN) for those who respectfully disagree, as I do, with Peter over this issue. I have added a data= argument to my

Re: [Rd] suggested modification to the 'mle' documentation?

2007-12-07 Thread Luke Tierney
On Fri, 7 Dec 2007, Duncan Murdoch wrote: On 12/7/2007 8:10 AM, Peter Dalgaard wrote: Ben Bolker wrote: At this point I'd just like to advertise the bbmle package (on CRAN) for those who respectfully disagree, as I do, with Peter over this issue. I have added a data= argument to my

Re: [Rd] suggested modification to the 'mle' documentation?

2007-12-07 Thread Peter Dalgaard
Luke Tierney wrote: [misc snippage] But I'd prefer to avoid the necessity for users to manipulate the environment of a function. I think the pattern model( f, data=d ) For working at the general likelihood I think is is better to encourage the approach of definign likelihood constructor

Re: [Rd] suggested modification to the 'mle' documentation?

2007-12-07 Thread Antonio, Fabio Di Narzo
2007/12/7, Ben Bolker [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luke Tierney wrote: On Fri, 7 Dec 2007, Duncan Murdoch wrote: For working at the general likelihood I think is is better to encourage the approach of definign likelihood constructor functions.

Re: [Rd] suggested modification to the 'mle' documentation?

2007-12-07 Thread Luke Tierney
On Fri, 7 Dec 2007, Gabor Grothendieck wrote: On Dec 7, 2007 8:10 AM, Peter Dalgaard [EMAIL PROTECTED] wrote: Ben Bolker wrote: At this point I'd just like to advertise the bbmle package (on CRAN) for those who respectfully disagree, as I do, with Peter over this issue. I have added a

[Rd] suggested modification to the 'mle' documentation?

2007-12-06 Thread Spencer Graves
Hello: I wish to again express my appreciation to all who have contributed to making R what it is today. At this moment, I'm particularly grateful for whoever modified the 'mle' code so data no longer need be passed via global variables. I remember struggling with this a couple

Re: [Rd] suggested modification to the 'mle' documentation?

2007-12-06 Thread Peter Dalgaard
Spencer Graves wrote: Hello: I wish to again express my appreciation to all who have contributed to making R what it is today. At this moment, I'm particularly grateful for whoever modified the 'mle' code so data no longer need be passed via global variables. I remember

Re: [Rd] suggested modification to the 'mle' documentation?

2007-12-06 Thread Gabor Grothendieck
The closure only works if you are defining the inner function yourself. If you are not then its yet more work to redefine the environment of the inner function or other workaround. On Dec 6, 2007 6:01 PM, Peter Dalgaard [EMAIL PROTECTED] wrote: Spencer Graves wrote: Hello: I wish to

Re: [Rd] suggested modification to the 'mle' documentation?

2007-12-06 Thread Ben Bolker
Gabor Grothendieck wrote: The closure only works if you are defining the inner function yourself. If you are not then its yet more work to redefine the environment of the inner function or other workaround. On Dec 6, 2007 6:01 PM, Peter Dalgaard [EMAIL PROTECTED] wrote: Spencer Graves