Displaying 1 result from an estimated 1 matches for "res4a".
Did you mean:
res4
2000 Jan 06
1
nlme
...*tm))),
start=list(fixed=c(5,-2,-0.1,0,0)),
fixed=list(p1+p2~1,p3~bilirubin+age),random=pdDiag(p1+p2+p3~1),
groups=~subj,data=datam,verbose=T,method="ML")
I get the error:
Error in fixed[[nm]][[3]] != "1" : comparison (2) is possible only for vector types
If I try instead
res4a <- nlme(logconc~p2+p3+p4*bilirubin+p5*age+log(dose/(exp(p1)-exp(p2))*
(exp(-exp(p2)*tm)-exp(-exp(p1)*tm))),
start=list(fixed=c(5,-2,-0.1,0,0)),
fixed=list(p1+p2+p3+p4+p5~1),random=pdDiag(p1+p2+p3~1),
groups=~subj,data=datam,verbose=T,method="ML")
it runs.
Can anyone explain to me...