Re: [R] Nonlinear Least Squares nls() programming help

2009-07-14 Thread spencerg
1. What does "i" in your formula represent? Have you worked the examples in the "nls" help page, and do you understand how it works? "nls" tries to do vector computations. 2. Unfortunately, "nls" often quits with errors like "singular convergence". A standard way around that p

Re: [R] Nonlinear Least Squares nls() programming help

2009-07-13 Thread Dieter Menne
MathZero wrote: > > Hi, I am trying to use the nls() function to closely approximate a vector > of values, colC and I'm running into trouble. I am not sure how if I am > asking the program to do what I think its doing, because the same > minimization in Excel's Solver does not run into problem

[R] Nonlinear Least Squares nls() programming help

2009-07-12 Thread MathZero
Hi, I am trying to use the nls() function to closely approximate a vector of values, colC and I'm running into trouble. I am not sure how if I am asking the program to do what I think its doing, because the same minimization in Excel's Solver does not run into problems. If anyone can tell me wha