Package: MAGMA.R
Title: MAny-Group MAtching
Version: 1.1
Authors@R: c(person("Julian", "Urban", email = "julian.urban@uni-potsdam.de", role = c("aut", "cre")),
    person("Markus D.", "Feuchter", role = c("aut")),
    person("Vsevolod", "Scherrer", role = c("aut")),
    person("Moritz L.", "Breit", role = c("aut")),
    person("Franzis", "Preckel", role = c("aut")))
Description: Balancing quasi-experimental field research for effects of covariates is fundamental for drawing causal inference. (Propensity Score) Matching deals with this issue but current
    techniques are restricted to binary treatment variables. Moreover, they provide several solutions without providing a comprehensive framework on choosing the best model. The
    MAGMA R-package addresses these restrictions by offering nearest neighbor matching based on Propensity Scores or the Mahalanobis Distance for two to four groups. It also includes the option to match data of a 2x2 design. In addition, 
    MAGMA includes a framework for evaluating the post-matching balance. The package includes functions for the matching process and matching reporting. We provide a General tutorial on 
    MAGMA and a tutorial for Mahalanobis Distance Matching as vignettes. More information on MAGMA can be found in Feuchter, M. D., Urban, J., Scherrer V., Breit, M. L., and Preckel F. (2022) <https://osf.io/p47nc/>.
Depends: R (>= 4.2.0), tidyverse (>= 2.0.0)
License: GPL-3
Imports: parallel (>= 4.2), doParallel (>= 1.0.17), foreach (>= 1.5.2),
        metafor (>= 4.4-0), robumeta (>= 2.1), psych (>= 2.3.9),
        ggplot2 (>= 3.4.4), janitor (>= 2.2.0), flextable (>= 0.9.4) ,
        overlapping (>= 2.1), purrr (>= 1.0.1), tibble (>= 3.2.1),
        dplyr (>= 1.1.4), tidyselect (>= 1.2.0), stats (>= 4.2), rlang
        (>= 1.1.1), stddiff (>= 3.1)
LazyData: true
Encoding: UTF-8
Suggests: knitr, rmarkdown
VignetteBuilder: knitr
Author: Julian Urban [aut, cre],
  Markus D. Feuchter [aut],
  Vsevolod Scherrer [aut],
  Moritz L. Breit [aut],
  Franzis Preckel [aut]
Maintainer: Julian Urban <julian.urban@uni-potsdam.de>
BugReports: https://github.com/JulianUrban/MAGMA/issues
Config/roxygen2/version: 8.0.0
NeedsCompilation: no
Packaged: 2026-07-28 07:49:52 UTC; Julian_Urban
Repository: CRAN
Date/Publication: 2026-07-28 09:10:20 UTC
Built: R 4.5.3; ; 2026-07-28 12:25:28 UTC; windows
