forest: Forest plot

View source: R/forestPlot.R

forestR Documentation

Forest plot

Description

Using metafor package to create a forest plot and metaviz package to create a rain forest plot.

Usage

forest(yi, vi, measure, d, effect = "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 forest and rainforest 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.