Skip to content
Prev 19422 / 20628 Next

Data Handling within nlme library

This is a bug in the way gnls is using environments to call nls() to get
starting values for glns(). You can circumvent this by doing the call to
nls() for starting values directly:

make_model <- function() {
?
? my_soybean <- Soybean
?
? form <- weight ~ SSlogis(Time, Asym, xmid, scal)
?
? gnls(form, data=my_soybean, weights=varPower(),
?????? start=coef(nls(form, my_soybean)))
?
}

Phillip
On 01/08/2021 20:43, bill at denney.ws wrote: