Re: [R] nls not accepting control parameter?

2009-10-05 Thread Rainer M Krug
On Fri, Oct 2, 2009 at 7:23 PM, Peter Ehlers ehl...@ucalgary.ca wrote: Hello Rainer, I think that your problem is with trying to fit a logistic model to data that don't support that model. Removing the first two points from your data will work (but of course it may not represent reality).

Re: [R] nls not accepting control parameter?

2009-10-05 Thread Peter Ehlers
Hi Rainer, Sorry, I hadn't read your post quite carefully enough. The problem appears to be with SSlogis. It seems that control parameters are not being passed through SSlogis. If you specify a start vector, minFactor can be set. nls( y ~ Asym/(1+exp((xmid-x)/scal)), data = dat,

[R] nls not accepting control parameter?

2009-10-02 Thread Rainer M Krug
Hi I want to change a control parameter for an nls () as I am getting an error message step factor 0.000488281 reduced below 'minFactor' of 0.000976562. Despite all tries, it seems that the control parameter of the nls, does not seem to get handed down to the function itself, or the error

Re: [R] nls not accepting control parameter?

2009-10-02 Thread Peter Ehlers
Hello Rainer, I think that your problem is with trying to fit a logistic model to data that don't support that model. Removing the first two points from your data will work (but of course it may not represent reality). The logistic function does not exhibit the kind of minimum that your data