do_MA: Perform meta-analyses on specified factors in timber

View source: R/do_MA.R

do_MAR Documentation

Perform meta-analyses on specified factors in timber

Description

do_MA() performs a meta-analysis on pre-identified factors in a CEDAR timber.

Usage

do_MA(timber, log_base = exp(1), cedar_version = 2)

Arguments

timber

a tibble of timber, with a table built by build_table.

log_base

numeric: the logarithm base used in the calculation of the log(OR). It should match that used to calculate SE(log(OR)) in build_chairs

cedar_version

numeric [1,2]: the version of CEDAR that created the export.

Details

Similar factors are combined in the iAM.AMR models using random-effect meta-analysis. The do_MA function performs meta-analyses on groups of factors indicated as alike by their metaID.

Value

The results of the meta-analyses, appended to the passed timber.


iAM-AMR/sawmill documentation built on June 30, 2024, 2:25 a.m.