我在元数据包中使用林函数,代码如下:
rm_md= metagen(data = df1, TE= Effect.Estimate,seTE = SE,studlab = Study,sm = "MD",comb.fixed =FALSE, byvar = Subgroup)
forest(rm_md,overall = F,overall=FALSE,layout = "RevMan5",digits.se = 2,print.byvar = FALSE,
leftcols = c("studlab","TE", "seTE","w.random","effect.ci"),
leftlabs=c("Study","Mean Difference","SE","Weight","95% CI"))
并收到此错误:
Error in if (size > 0 && (convertX(unit(TE, "native") + unit(0.5 * size, :
missing value where TRUE/FALSE needed
它给出了曲线图,但对于某些学习正方形未显示。 找不到代码有什么问题吗?