-1
我在nlme包中运行线性混合模型。lme函数中的R错误:NA/NaN/Inf在外部函数调用中(arg 3)
control <- lmeControl(maxIter=100,opt = c("optim"))
lme(response ~ 0+factorA+covariate,random=~1|factorB,
weights=varIdent(form= ~1|factorA),control=control),
并且,它出现如下错误。
Error in logLik.reStruct(object, conLin) :NA/NaN/Inf in foreign function call (arg 3)
是否与收敛误差相同?或其他人?
感谢
对不起,但没有足够的信息来回答这个问题。如果可能,请发布可复制的示例(http://tinyurl.com/reproducible-000),并且至少提供更多关于上下文的信息。 – 2013-05-10 18:49:12
我编辑我原来的问题。谢谢 – Colin 2013-05-10 18:52:53