Skip to content
Prev 172174 / 398506 Next

nls does not accept start values

Petr PIKAL wrote:
If you really want to orgnize it that way, why not simpler as in:

form <- list(y ~ 1/(a - x), a = mean(y))
fit <- nls(form[[1]], data.frame(x=x, y=y), start = form[2])


Uwe Ligges