Learn R Programming

miniMeta (version 0.3.2)

plotOptions: Get forest plot options from miniMeta object

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

plotOptions(x)

Value

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

Arguments

x

An object of class miniMeta

Examples

Run this code
if (FALSE) {
# 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)
}

Run the code above in your browser using DataLab