我尝试运行以下等式:
modruns2 <- glmulti(SRI ~ TVIS + SNH3000 + BU1000 + TBE250 + TS3000 + TAB3000 +
PELHL1000 + SR250 + SW250, data = data1, family = quasipoisson,
glmulti-cvalue = 6.219132, level =1, maxsize = 4, crit = qaicc)
它出现了错误:
Error: unexpected '=' in "modruns2 <- glmulti(SRI ~ TVIS + SNH3000 + BU1000 + TBE250 +
TS3000 + TAB3000 + PELHL1000 + SR250 + SW250, data = data1, family = quasipoisson, glmulti-
cvalue ="
我一直在努力关注http://cran.r-project.org/web/packages/glmulti/glmulti.pdf&amp; http://vcalcagnoresearch.wordpress.com/package-glmulti/
但似乎我可能错误地指定了c-hat。
任何帮助?
答案 0 :(得分:1)
Install the package named R.utils
.
What LyzandeR suggests was correct. But instead of
setOption('glmulti-cvalue'=6.219132)
use
setOption('glmulti-cvalue',6.219132)
I had the same issue, and I found answer in an example on this page.