Skip to content
Prev 15181 / 20628 Next

nlme vs nlme4

Terry,

I've also recently reported that same error, at
https://stat.ethz.ch/pipermail/r-sig-mixed-models/2016q4/025213.html.

BTW where is your function dfun defined? - should it be dfun2?

You say you had to add z to the start vector init2, but you've defined it
as a fixed effect when it's random. Try defining init2 as a list with
components nlpars for the fixed effects p1, p2, p3 and p4, and theta for
var(z), and it might work better (note the error message refers to theta).

Best wishes,
Tim Cole

--- 
Tim.cole at ucl.ac.uk Phone +44(0)20 7905 2666 Fax +44(0)20 7905 2381
Population, Policy and Practice Programme
UCL Great Ormond Street Institute of Child Health, London WC1N 1EH, UK