绘制uni森林图报错,提示
Error in check_errors(data = data, est = est, lower = lower, upper = upper, :
Sizes must be larger than 0.
我的数据
我的代码
library(tidyverse)
pu <-
forest(data1[,c(5:8)],
est = as.numeric(data1$HR),
lower = as.numeric(data1$lowerCI),
upper = as.numeric(data1$upperCI),
sizes = as.numeric(data1$se),
ci_column = 3,
ref_line = 1,
arrow_lab = c("Placebo Better", "Treatment Better"),
xlim = c(0, 20),
ticks_at = c(0,4,8,12,16)
)
到底哪里出了问题呢