The package mc.heterogeneity implements a Monte Carlo Based Heterogeneity Test for standardized mean differences (d), Fisher-transformed Pearson’s correlations (r), and natural-logarithm-transformed odds ratio (OR) in Meta-Analysis Studies.

Depending on the presence of moderators, this Monte Carlo Based Test can be implemented in the random or mixed-effects model. This package uses rma() function from the R package metafor to obtain parameter estimates and likelihood, so installation of R package metafor is required.


You can install the released version of mc.heterogeneity from CRAN with:


And the development version from GitHub with:

# install.packages("devtools")
# library(devtools)

If you have already installed this package locally, you need to override the previous version with force installation:

devtools::install_github("gabriellajg/mc.heterogeneity", force = TRUE)