我在Ubuntu18.04上从CRAN安装lme4包时遇到了问题。我在R 3.4.4上运行install.packages("lme4"),得到以下错误: ERROR: configuration failed for package ‘nloptr’ERROR: dependency ‘nloptr’ is not available for package ‘lme4’
我正在尝试使用lme4包进行glmm,并得到收敛代码0和一条声明: Model to converge with max|grad| = 0.00791467 (tol = 0.001,component我对使用lme4包很感兴趣,因为我希望在添加其他协变量时使用AIC值来确定适当的模型。下面是glmer (lme4)模型代码。我增加了最大乐趣来处理我上次运行模型时遇到的其他问题。