I2: Compute I2

View source: R/I2.R

I2R Documentation

Compute I2

Description

I2 represents the amount of heterogeneity relative to the total amount of variance in the observed effect sizes (Higgins & Thompson, 2002). For three-level meta-analyses, it is additionally broken down into I2_w (amount of within-cluster heterogeneity) and I2_b (amount of between-cluster heterogeneity).

Usage

I2(x, ...)

Arguments

x

An object for which a method exists.

...

Arguments passed to other functions.

Value

Numeric matrix, with rows corresponding to I2 (total heterogeneity), and optionally I2_w and I2_b (within- and between-cluster heterogeneity).

Examples

I2(matrix(1:20, ncol = 1))

pema documentation built on March 31, 2023, 11:38 p.m.