Re: [R] newbie nls question

2008-06-11 Thread Ranney, Steven
: Michael Manning [mailto:[EMAIL PROTECTED] Sent: Tue 6/10/2008 5:08 PM To: Ranney, Steven; r-help@r-project.org Subject: Re: [R] newbie nls question Hi On 11/06/2008 at 10:56 a.m., Ranney, Steven [EMAIL PROTECTED] wrote: I'm tyring to fit a relatively simple nls model to some data, but keep coming

[R] newbie nls question

2008-06-10 Thread Ranney, Steven
I'm tyring to fit a relatively simple nls model to some data, but keep coming up against the same error (code follows): Oto=nls(Otolith ~ Linf*(1-exp(-k(AGE-to))), data = ages, start = list(Linf=1000, k=0.1, to=0.1), trace = TRUE) The error message I keep getting is Error in

Re: [R] newbie nls question

2008-06-10 Thread Michael Manning
Hi On 11/06/2008 at 10:56 a.m., Ranney, Steven [EMAIL PROTECTED] wrote: I'm tyring to fit a relatively simple nls model to some data, but keep coming up against the same error (code follows): Oto=nls(Otolith ~ Linf*(1-exp(-k(AGE-to))), data = ages, start = list(Linf=1000, k=0.1,