Learn R Programming

meta (version 7.0-0)

gs: Get default for a meta-analysis setting.

Description

Get default for a meta-analysis setting in R package meta.

Usage

gs(x = NULL, unname = NULL)

Arguments

x

A character string or vector with setting name(s).

unname

A logical whether to remove names from attributes.

Details

This function can be used to get the default for a meta-analysis setting defined using settings.meta.

This function is primarily used to define default settings in meta-analysis functions, e.g., metabin or metacont. A list of all arguments with current settings is printed using the command settings.meta("print").

See Also

settings.meta

Examples

Run this code
# Get default setting for confidence interval of random effects
# model
#
gs("method.random.ci")

# Get default setting for summary measure in metabin()
#
gs("smbin")

Run the code above in your browser using DataLab