Re: [R] Apparent discordant solution using NLS() vs Optim or Excel for IWLS problem

2007-12-21 Thread Gabor Grothendieck
Check out the drc package. Also, please read the last line to every message to r-help regarding reproducible code and note that function names are case sensitive in R so NLS is not the same as nls. On Dec 21, 2007 7:36 PM, <[EMAIL PROTECTED]> wrote: > I am writing a program for automated (i.e. n

[R] Apparent discordant solution using NLS() vs Optim or Excel for IWLS problem

2007-12-21 Thread rsposto
I am writing a program for automated (i.e. no user intervention - for biologists) iteratively reweighted least-square fit to a function of the form "reading ~ exp(lm2)/(1 + (dose/exp(lm3))^exp(lm4)" using case weight proportional to the mean, e.g., E(reading).Because for some datasets the s