plotOptions {miniMeta}R Documentation

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)

Arguments

x

An object of class miniMeta

Value

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

Examples

## Not run: 
# 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)

## End(Not run)


[Package miniMeta version 0.3.1 Index]