Learn R Programming

psychmeta (version 2.3.4)

organize_moderators: Organization of moderator data for use in meta-analyses

Description

Organization of moderator data for use in meta-analyses

Usage

organize_moderators(moderator_matrix, es_data, construct_x = NULL,
  construct_y = NULL, construct_order = NULL,
  moderator_levels = NULL, moderator_type = "hierarchical",
  moderator_names = NULL, ...)

Arguments

moderator_matrix

Matrix (or vector) of moderator variables.

es_data

Matrix of effect-size data to be used in meta-analyses.

construct_x

Vector of construct names for construct X.

construct_y

Vector of construct names for construct Y.

construct_order

The order in which constructs are to be arranged.

moderator_levels

List containing the factor levels of categorical 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.

...

Further arguments.

Value

List containing (1) the full matrix of moderators and effect-size data for use in meta-analyses and (2) the names of the moderator variables.