robu_ci: robumeta::robu CI

View source: R/utils.R

robu_ciR Documentation

robumeta::robu CI

Description

Add a confidence interval to the reg_table of a robumeta::robu object.

Usage

robu_ci(robu_fit, ci_level = 0.95)

Arguments

robu_fit

Object of class robumeta::robu.

ci_level

Confidence level to use for the confidence interval (defaults to 0.95).

Value

A dataframe with the columns estimate, se, ci_lower, ci_upper, p_value.

Examples

# example model from robumeta::robu()
hier_mod <- robumeta::robu(effectsize ~ binge + followup + sreport + age,
                           data = robumeta::hierdat, studynum = studyid,
                           var.eff.size = var, modelweights = "HIER",
                           small = TRUE)
robu_ci(hier_mod)

metabias documentation built on Aug. 19, 2023, 1:07 a.m.