mgcont: Group Studies with Continuous Outcome Data by Homogeneity

View source: R/mgcont.R

mgcontR Documentation

Group Studies with Continuous Outcome Data by Homogeneity

Description

This function iteratively assigns studies to subgroups based on a homogeneity test. The goal is to create statistically homogeneous groups of studies before performing a final meta-analysis with continuous outcome data.

Usage

mgcont(data, n.e, mean.e, sd.e, n.c, mean.c, sd.c, studlab, ...)

Arguments

data

A data frame containing the meta-analysis data.

n.e

A vector of sample sizes in the experimental group.

mean.e

A vector of means in the experimental group.

sd.e

A vector of standard deviations in the experimental group.

n.c

A vector of sample sizes in the control group.

mean.c

A vector of means in the control group.

sd.c

A vector of standard deviations in the control group.

studlab

A vector of study labels.

...

Additional arguments passed on to 'meta::metacont'.

Details

The algorithm starts with a single study in "group 1". It then processes each subsequent study, attempting to place it in an existing group. A study is added to a group only if its inclusion does not result in significant within-group heterogeneity. If no suitable group is found, a new one is created.

Value

A list containing the final data with subgroup assignments ('data'), the final 'metacont' model ('model'), and the number of attempts ('attempts').

Author(s)

Ahmed Abdelmageed ahmedelsaeedmassad@gmail.com

See Also

meaning


metagroup documentation built on Sept. 10, 2025, 10:26 a.m.