Re: [R] strange `nls' behaviour

2007-11-13 Thread Joerg van den Hoff
On Mon, Nov 12, 2007 at 06:59:56PM -0500, Duncan Murdoch wrote: > On 12/11/2007 2:56 PM, Joerg van den Hoff wrote: > >On Mon, Nov 12, 2007 at 11:09:21AM -0500, Duncan Murdoch wrote: > >>On 11/12/2007 9:14 AM, Joerg van den Hoff wrote: > >>>On Mon, Nov 12, 2007 at 07:36:34AM -0500, Duncan Murdoch wr

Re: [R] strange `nls' behaviour

2007-11-12 Thread Duncan Murdoch
On 12/11/2007 2:56 PM, Joerg van den Hoff wrote: > On Mon, Nov 12, 2007 at 11:09:21AM -0500, Duncan Murdoch wrote: >> On 11/12/2007 9:14 AM, Joerg van den Hoff wrote: >>> On Mon, Nov 12, 2007 at 07:36:34AM -0500, Duncan Murdoch wrote: On 11/12/2007 6:51 AM, Joerg van den Hoff wrote: > I in

Re: [R] strange `nls' behaviour

2007-11-12 Thread Joerg van den Hoff
On Mon, Nov 12, 2007 at 11:09:21AM -0500, Duncan Murdoch wrote: > On 11/12/2007 9:14 AM, Joerg van den Hoff wrote: > >On Mon, Nov 12, 2007 at 07:36:34AM -0500, Duncan Murdoch wrote: > >>On 11/12/2007 6:51 AM, Joerg van den Hoff wrote: > >>>I initially thought, this should better be posted to r-deve

Re: [R] strange `nls' behaviour

2007-11-12 Thread Duncan Murdoch
On 11/12/2007 9:14 AM, Joerg van den Hoff wrote: > On Mon, Nov 12, 2007 at 07:36:34AM -0500, Duncan Murdoch wrote: >> On 11/12/2007 6:51 AM, Joerg van den Hoff wrote: >> >I initially thought, this should better be posted to r-devel >> >but alas! no response. >> >> I think the reason there was no

Re: [R] strange `nls' behaviour

2007-11-12 Thread Katharine Mullen
On about line 547 in nls.R there is mf$formula <- # replace by one-sided linear model formula as.formula(paste("~", paste(varNames[varIndex], collapse = "+")), env = environment(formula)) If this is replaced with mf$formula <- # replace by one-sided linear model f

Re: [R] strange `nls' behaviour

2007-11-12 Thread Joerg van den Hoff
On Mon, Nov 12, 2007 at 03:25:38PM +0100, Martin Maechler wrote: > > "DM" == Duncan Murdoch <[EMAIL PROTECTED]> > > on Mon, 12 Nov 2007 07:36:34 -0500 writes: > > DM> On 11/12/2007 6:51 AM, Joerg van den Hoff wrote: > >> I initially thought, this should better be posted to r-de

Re: [R] strange `nls' behaviour

2007-11-12 Thread Martin Maechler
> "DM" == Duncan Murdoch <[EMAIL PROTECTED]> > on Mon, 12 Nov 2007 07:36:34 -0500 writes: DM> On 11/12/2007 6:51 AM, Joerg van den Hoff wrote: >> I initially thought, this should better be posted to r-devel >> but alas! no response. DM> I think the reason there was no

Re: [R] strange `nls' behaviour

2007-11-12 Thread Joerg van den Hoff
On Mon, Nov 12, 2007 at 07:36:34AM -0500, Duncan Murdoch wrote: > On 11/12/2007 6:51 AM, Joerg van den Hoff wrote: > >I initially thought, this should better be posted to r-devel > >but alas! no response. > > I think the reason there was no response is that your example is too > complicated. Yo

Re: [R] strange `nls' behaviour

2007-11-12 Thread Duncan Murdoch
On 11/12/2007 6:51 AM, Joerg van den Hoff wrote: > I initially thought, this should better be posted to r-devel > but alas! no response. I think the reason there was no response is that your example is too complicated. You're doing a lot of strange things (fitfunc as a result of deriv, using a

Re: [R] strange `nls' behaviour

2007-11-12 Thread Katharine Mullen
I can confirm this behavior on R-2.6.0 but don't have time to look into it further at the moment. On Mon, 12 Nov 2007, Joerg van den Hoff wrote: > > I initially thought, this should better be posted to r-devel > but alas! no response. so I try it here. sory for the > lengthy explanation bu