Re: [R] Matlab's lsqnonlin

2007-09-08 Thread Martin Maechler
KateM == Katharine Mullen [EMAIL PROTECTED] on Fri, 7 Sep 2007 20:07:41 +0200 (CEST) writes: KateM The thread you linked to regarding Levenberg-Marquardt's supposed lack of KateM availability is from 2001; it has been possible to get KateM to the MINPACK implementation of

Re: [R] Matlab's lsqnonlin

2007-09-08 Thread Katharine Mullen
I'm wondering about experiences: Do you know of cases where minpack.lm's nls.lm() solved a (real) problem that nls() would have a problem with ? In short, no. However, I looked at this question in the limited context of fitting the parameters of a linear superposition of 2 exponentials

Re: [R] Matlab's lsqnonlin

2007-09-07 Thread Daniel Lakeland
On Fri, Sep 07, 2007 at 08:34:45PM +0200, Jose Luis Aznarte M. wrote: Hi! I'm translating some code from Matlab to R and I found a problem. I need to translate Matlab's function 'lsqnonlin' (http://www-ccs.ucsd.edu/matlab/toolbox/optim/lsqnonlin.html) into R, Do you want the nls

Re: [R] Matlab's lsqnonlin

2007-09-07 Thread Katharine Mullen
The thread you linked to regarding Levenberg-Marquardt's supposed lack of availability is from 2001; it has been possible to get to the MINPACK implementation of Levenberg-Marquardt within R via the package minpack.lm (http://cran.r-project.org/src/contrib/Descriptions/minpack.lm.html) since 2005.

[R] Matlab's lsqnonlin

2007-09-07 Thread Jose Luis Aznarte M.
Hi! I'm translating some code from Matlab to R and I found a problem. I need to translate Matlab's function 'lsqnonlin' (http://www-ccs.ucsd.edu/matlab/toolbox/optim/lsqnonlin.html) into R, and at the beginning I thought it would be the same as R's 'optim'. But then I looked at the