plotOptions: Get forest plot options from miniMeta object

Description Usage Arguments Value Examples

View source: R/plotOptions.R

Description

This function returns the forest plot options stored in a miniMeta object, as a named list of arguments, for further processing. This allows finer control than directly plotting using the forest.miniMeta method. See the example below.

Usage

1

Arguments

x

An object of class miniMeta

Value

A named list of arguments corresponding to the arguments of forest.meta.

Examples

1
2
3
4
5
6
7
# Extract the plot options from the miniMeta object
plot_opts <- plotOptions(example_miniMeta_obs)
# Call directly the forest.meta method, with all plot options
do.call(forest, c(x=list(example_miniMeta_obs$meta), plot_opts))

# Equivalently, call the forest.miniMeta method directly
forest(example_miniMeta_obs)

miniMeta documentation built on March 1, 2020, 5:07 p.m.