rmaMVModel: rma MVModel

View source: R/rmaMVModel.R

rmaMVModelR Documentation

rma MVModel

Description

Using metafor rma.mv function to fit and return a meta-analytic multivariate/multilevel fixed- and random/mixed-effects model with or without moderators for the given dataset. See Documentation of metafor package for details.

Usage

rmaMVModel(yi, vi, measure, d, pred1 = NULL, pred2 = NULL, nesting = NULL)

Arguments

yi

A string of the variable which holds the vector of length k with the observed effect sizes or outcomes in the selected dataset (d)

vi

A string of the variable which holds the vector of length k with the corresponding sampling variances in the selected dataset (d)

d

A string representing the dataset name that should be used for fitting.

pred1

Optional parameter of type String, wich represents the name of the variable which holds the vectors used as input for the metafor mods argument in the selected dataset (d).

pred2

Optional parameter of type String, wich represents the name of the variable which holds the vectors used as input for the metafor mods argument in the selected dataset (d).

nesting

Optional parameter of type list, containing nesting parameter

Value

returns a fitted rma_mv model

Author(s)

Robert Studtrucker


leibniz-psychology/PsychOpen-CAMA-R-package documentation built on April 17, 2025, 5:27 p.m.