我正在使用 glmmTMB 库在 R 降价文档中运行混合模型。我运行的任何模型都会收到以下警告:
'giveCsparse' has been deprecated; setting 'repr = "T"' for you'giveCsparse' has been deprecated; setting 'repr = "T"' for you'giveCsparse' has been deprecated; setting 'repr = "T"' for you
然后,如果我在控制台中运行代码,我会收到以下警告:
Warning messages:
1: In Matrix::sparseMatrix(dims = c(0, 0), i = integer(0), j = integer(0), :
'giveCsparse' has been deprecated; setting 'repr = "T"' for you
2: In Matrix::sparseMatrix(dims = c(0, 0), i = integer(0), j = integer(0), :
'giveCsparse' has been deprecated; setting 'repr = "T"' for you
3: In Matrix::sparseMatrix(dims = c(0, 0), i = integer(0), j = integer(0), :
'giveCsparse' has been deprecated; setting 'repr = "T"' for you
我的代码如下所示:
m1 <- glmmTMB(count~var1+var2+var3+(1|group), data = bd, family = "poisson")
我尝试使用 重新安装 TMB 和 glmmTMB dependencies=TRUE
,但消息不断出现。显然它根本不会影响模型,但无论我做什么测试或图表,我都会不断收到警告。有可能解决这个问题吗?或者我只是忽略它?