cumulforest: cumulative Forest plot

View source: R/cumulForestPlot.R

cumulforestR Documentation

cumulative Forest plot

Description

Using metafor rma.uni function to fit a meta-analytic multivariate/multilevel fixed- and random/mixed-effects model for the given dataset. The model then is used as input for the metaviz viz_forest function to print a forrest plot See Documentation of metafor and metaviz packages for details.

Usage

cumulforest(yi, vi, measure, d, effectName = "Effect")

Arguments

yi

A string of the variable which holds the vector of length k with the observed effect sizes or outcomes in the selected dataset (d)

vi

A string of the variable which holds the vector of length k with the corresponding sampling variances in the selected dataset (d)

measure

A character string indicating underlying summary measure.

d

A string representing the dataset name that should be used for fitting.

Value

creates a cumulative forest plot also creates a json file (imgHeight.json) that is used in a later api call to define the height of the plots

Author(s)

Robert Studtrucker


leibniz-psychology/PsychOpen-CAMA-R-package documentation built on April 17, 2025, 5:27 p.m.