我无法在我的 tbl_svysummary 中获得 SE。我的 RStudio 声明调查对象不支持“mean.std.error”统计;但这里(https://www.danieldsjoberg.com/gtsummary/reference/tbl_svysummary.html)明确表示支持此功能。
我试过这段代码:
dfw %>% select(logCD8_CD4, logCDM_N, logCD4M_N, logCD8M_N, logIL6, logTNF1, logCRP, logCMV, prison, homeless, combatzone, cumscore, age, race, sex, parents_ed, education, disab, CSRH, SRCH, CCI, CESD, BMI, CMVsero) %>%
tbl_svysummary(statistic = list(all_continuous()~"{mean} ({mean.std.error})", all_categorical()~"{n_unweighted} ({p}%)"),
type=list(logIL6~"continuous", logTNF1~"continuous")
期望一个带有 SE 的表和连续值的平均值。收到上述错误消息。