Skip to contents

Random-effects meta-analysis with metafor::rma() of the data from analysis_data(), plus a cumulative meta-analysis by publication year showing how the pooled estimate has evolved.

Usage

run_meta_analysis(path = ".", analysis, world = NULL)

Arguments

path

Project root.

analysis

An analysis from read_analyses(), or its name.

world

Optional result of load_metawoRld() (with drop_rejected = TRUE) to avoid re-reading the project.

Value

An object of class metawoRld_meta: a list with analysis, data (with effect sizes yi, vi), excluded, selection (how each study contributes: which groups, at which level, and whether subgroups were pooled), model (the rma fit, or NULL with fewer than two studies), summary (one-row tibble), subgroups and subgroup_test (for analyses with subgroups), and cumulative (pooled estimate after each publication year).