analysisOptions: Get analytical options from miniMeta object

View source: R/analysisOptions.R

analysisOptionsR Documentation

Get analytical options from miniMeta object

Description

This function returns the analytical options stored in a miniMeta object, as a named list of arguments, for further processing.

Usage

analysisOptions(x, data = FALSE)

Arguments

x

An object of class miniMeta

data

If TRUE, the data associated with the meta-analysis are included in the return value. This allows you for example to run: do.call(metabin, analysisOptions(x, data=TRUE)) or do.call(metagen, analysisOptions(x, data=TRUE)) (depending on the contents of x), in order to re-run the meta-analysis.

Value

A named list of arguments corresponding to the arguments of metagen or metabin.

Examples

analysisOptions(example_miniMeta_rct)


miniMeta documentation built on June 23, 2024, 1:06 a.m.