Skip to content
Prev 11289 / 20628 Next

Formula and Start-values … nlmer (actual error messages)

Hmm:  I should have included the actual error message I received from nlmer
at about the line "Could this naming be confusing to nlmer?  The start values must be named."
+      start=start.vals.1,  data=good.est.merge.long.dat  )
Error in nlmer(y ~ a * (x + x.nought) ~ (a | species.type) + (x.nought |  : 
  not all parameter names are used in the nonlinear model expression

where named list is given by ...
a1 
0.002266363
x.nought1802 
  -0.1204595 

Using single values with a single name also does not work, nor does a construct
with cbind:
+      start=c(a=0.00364901,x.nought=0),  data=good.est.merge.long.dat  )
Error in nlmer(y ~ a * (x + x.nought) ~ (a | species.type) + (x.nought |  : 
  gradient attribute of evaluated model must be a numeric matrix

Bob Chatfield
Message-ID: <ED374FC2-D99D-4D7A-80EE-E0D1F7E3EC87@alumni.rice.edu>
In-Reply-To: <mailman.0.1389610802.32367.r-sig-mixed-models@r-project.org>