<keunhchoi <at> gmail.com> writes: > > Here is a clean version. I did this with nls and it works (see below), but > I need to do it with optim. Keun-Hyung
Great that you got it to work! Just curious if there is any reason why one should use optim when nls works fine? If this should be on a reviewer's request, challenge the reviewer. Dieter ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.