在用gemtc包做网状meta的异质性检验的时候报错。固定效应模型显示I2=20%。
Error in unit(rep(1, length(col)), "grobwidth", col) :
'x'和'unit'的长度必需大于零
异质性检验代码
resultanohe <- mtc.anohe(network, n.adapt = 20000, n.iter = 50000, thin = 1, n.chain=4, likelihood="binom", link="cloglog",linearModel="fixed")
c<-summary(resultanohe)
plot(c)