Learn R Programming

psychmeta (version 2.3.4)

ma_wrapper: Wrapper function to compute meta-analytic results for all analyses.

Description

Wrapper function to compute meta-analytic results for all analyses.

Usage

ma_wrapper(es_data, es_type = "r", ma_type = "bb", ma_fun,
  moderator_matrix = NULL, moderator_type = "all",
  cat_moderators = TRUE, construct_x = NULL, construct_y = NULL,
  ma_arg_list, ...)

Arguments

es_data

Matrix of effect-size data.

es_type

Effect-size type (e.g., "r" or "d")

ma_type

The meta-analysis type: "bb" or "individual_correction."

ma_fun

Meta-analysis function to be used in computing meta-analytic results.

moderator_matrix

Matrix (or vector) of moderator variables.

moderator_type

Type of moderator analysis: "none" means that no moderators are to be used, "simple" means that moderators are to be examined one at a time, "hierarchical" means that all possible combinations and subsets of moderators are to be examined, and "all" means that simple and hierarchical moderator analyses are to be performed.

cat_moderators

Logical vector identifying whether each variable in the moderator_matrix is a categorical variable (TRUE) or a continuous variable (FALSE).

construct_x

Vector of construct names for construct X.

construct_y

Vector of construct names for construct Y.

ma_arg_list

List of arguments to be passed to the meta-analysis function.

...

Further arguments.

Value

A list of meta-analytic results.