{
  "_id": "6a23c9e8530b9bc726be1330",
  "Package": "robmed",
  "Type": "Package",
  "Title": "(Robust) Mediation Analysis",
  "Version": "1.3.0",
  "Date": "2025-12-08",
  "Description": "Perform mediation analysis via the fast-and-robust\nbootstrap test ROBMED (Alfons, Ates & Groenen, 2022a;\n<doi:10.1177/1094428121999096>), as well as various other\nmethods. Details on the implementation and code examples can be\nfound in Alfons, Ates, and Groenen (2022b)\n<doi:10.18637/jss.v103.i13>. Further discussion on robust\nmediation analysis can be found in Alfons & Schley (2025)\n<doi:10.1002/wics.70051>.",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/aalfons/robmed",
  "BugReports": "https://github.com/aalfons/robmed/issues",
  "LazyData": "yes",
  "VignetteBuilder": "knitr",
  "Authors@R": "c(person(\"Andreas\", \"Alfons\",\nemail = \"alfons@ese.eur.nl\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-2513-3788\")),\nperson(\"Nufer Y.\", \"Ates\", role = \"dtc\",\ncomment = c(ORCID = \"0000-0003-4572-4101\",\n\"provided the BSG2014 data\")))",
  "Author": "Andreas Alfons [aut, cre]\n(<https://orcid.org/0000-0002-2513-3788>), Nufer Y. Ates [dtc]\n(<https://orcid.org/0000-0003-4572-4101>, provided the BSG2014\ndata)",
  "Maintainer": "Andreas Alfons <alfons@ese.eur.nl>",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Repository": "https://aalfons.r-universe.dev",
  "Date/Publication": "2025-12-08 18:25:51 UTC",
  "RemoteUrl": "https://github.com/aalfons/robmed",
  "RemoteRef": "HEAD",
  "RemoteSha": "938f47613f3ab5d78e27802d41556060cbaac309",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-06 07:11:10 UTC",
    "User": "root"
  },
  "MD5sum": "83318c3f4ed90468e53f6af4cae81b5d",
  "_user": "aalfons",
  "_type": "src",
  "_file": "robmed_1.3.0.tar.gz",
  "_fileid": "e121af90e8ba22f1de4e5e76a10c18c03094fef86779897b8080196f57a562cc",
  "_filesize": 1428045,
  "_sha256": "e121af90e8ba22f1de4e5e76a10c18c03094fef86779897b8080196f57a562cc",
  "_created": "2026-06-06T07:11:10.000Z",
  "_published": "2026-06-06T07:19:04.864Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79860063108,
      "time": 430,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7452351672"
    },
    {
      "job": 79860063105,
      "time": 195,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452320193"
    },
    {
      "job": 79860063106,
      "time": 200,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7452320624"
    },
    {
      "job": 79860063100,
      "time": 174,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452317336"
    },
    {
      "job": 79859845926,
      "time": 214,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452292635"
    },
    {
      "job": 79860063103,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452307132"
    },
    {
      "job": 79860063118,
      "time": 188,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7452319197"
    },
    {
      "job": 79860063114,
      "time": 219,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7452323271"
    },
    {
      "job": 79860063113,
      "time": 193,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452319901"
    }
  ],
  "_buildurl": "https://github.com/r-universe/aalfons/actions/runs/27055794538",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/aalfons/robmed",
  "_commit": {
    "id": "938f47613f3ab5d78e27802d41556060cbaac309",
    "author": "Andreas Alfons <alfons@ese.eur.nl>",
    "committer": "Andreas Alfons <alfons@ese.eur.nl>",
    "message": "updated help files\n",
    "time": 1765218351
  },
  "_maintainer": {
    "name": "Andreas Alfons",
    "email": "alfons@ese.eur.nl",
    "login": "aalfons",
    "orcid": "0000-0002-2513-3788",
    "description": "",
    "uuid": 977208
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.3.0",
      "role": "Depends"
    },
    {
      "package": "robustbase",
      "version": ">= 0.92-7",
      "role": "Depends"
    },
    {
      "package": "boot",
      "version": ">= 1.3-20",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "quantreg",
      "version": ">= 5.36",
      "role": "Imports"
    },
    {
      "package": "sn",
      "version": ">= 1.5-4",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "aalfons",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-23",
      "n": 2
    },
    {
      "week": "2025-35",
      "n": 1
    },
    {
      "week": "2025-36",
      "n": 2
    },
    {
      "week": "2025-37",
      "n": 1
    },
    {
      "week": "2025-50",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.2.2",
      "date": "2025-09-06"
    },
    {
      "name": "v1.3.0",
      "date": "2025-12-08"
    }
  ],
  "_stars": 6,
  "_contributors": [
    {
      "user": "aalfons",
      "count": 532,
      "uuid": 977208
    }
  ],
  "_userbio": {
    "uuid": 977208,
    "type": "user",
    "name": "Andreas Alfons"
  },
  "_downloads": {
    "count": 217,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/robmed"
  },
  "_devurl": "https://github.com/aalfons/robmed",
  "_searchresults": 40,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/robmed.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/aalfons/robmed",
  "_realowner": "aalfons",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2016-09-12"
    },
    {
      "version": "0.1.1",
      "date": "2016-09-14"
    },
    {
      "version": "0.2.0",
      "date": "2018-09-25"
    },
    {
      "version": "0.3.0",
      "date": "2018-11-05"
    },
    {
      "version": "0.4.0",
      "date": "2019-09-13"
    },
    {
      "version": "0.5.0",
      "date": "2019-10-22"
    },
    {
      "version": "0.6.0",
      "date": "2020-02-13"
    },
    {
      "version": "0.7.0",
      "date": "2020-06-08"
    },
    {
      "version": "0.8.0",
      "date": "2021-01-06"
    },
    {
      "version": "0.9.0",
      "date": "2021-06-04"
    },
    {
      "version": "0.10.0",
      "date": "2022-02-21"
    },
    {
      "version": "0.10.1",
      "date": "2022-03-17"
    },
    {
      "version": "0.11.0",
      "date": "2022-05-23"
    },
    {
      "version": "1.0.0",
      "date": "2022-08-17"
    },
    {
      "version": "1.0.1",
      "date": "2023-03-25"
    },
    {
      "version": "1.0.2",
      "date": "2023-06-17"
    },
    {
      "version": "1.1.0",
      "date": "2024-11-03"
    },
    {
      "version": "1.2.0",
      "date": "2024-12-10"
    },
    {
      "version": "1.2.1",
      "date": "2025-02-08"
    },
    {
      "version": "1.2.2",
      "date": "2025-09-08"
    },
    {
      "version": "1.3.0",
      "date": "2025-12-11"
    }
  ],
  "_exports": [
    "boot_samples",
    "ci_plot",
    "cov_control",
    "cov_Huber",
    "cov_ML",
    "covariates",
    "density_plot",
    "ellipse_plot",
    "fit_mediation",
    "m",
    "median_reg_control",
    "MM_reg_control",
    "p_value",
    "parallel_m",
    "reg_control",
    "retest",
    "rmediation",
    "robmed",
    "serial_m",
    "setup_ci_plot",
    "setup_density_plot",
    "setup_ellipse_plot",
    "setup_weight_plot",
    "sim_mediation",
    "test_mediation",
    "weight_plot"
  ],
  "_datasets": [
    {
      "name": "BSG2014",
      "title": "Business simulation game data",
      "object": "BSG2014",
      "class": [
        "data.frame"
      ],
      "fields": [
        "GenderDiversity",
        "AgeDiversity",
        "ValueDiversity",
        "SharedLeadership",
        "TaskConflict",
        "ProcessConflict",
        "TMS",
        "ProceduralJustice",
        "InteractionalJustice",
        "TeamPerformance",
        "TeamCommitment",
        "SharedExperience",
        "TeamScore"
      ],
      "rows": 89,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "robmed-package",
      "title": "(Robust) Mediation Analysis",
      "topics": [
        "robmed-package"
      ]
    },
    {
      "page": "boot_samples",
      "title": "Draw bootstrap samples",
      "topics": [
        "boot_samples"
      ]
    },
    {
      "page": "BSG2014",
      "title": "Business simulation game data",
      "topics": [
        "BSG2014"
      ]
    },
    {
      "page": "ci_plot",
      "title": "Dot plot with confidence intervals",
      "topics": [
        "ci_plot",
        "ci_plot.boot_test_mediation",
        "ci_plot.default",
        "ci_plot.list",
        "ci_plot.setup_ci_plot",
        "ci_plot.sobel_test_mediation"
      ]
    },
    {
      "page": "coef.test_mediation",
      "title": "Coefficients in (robust) mediation analysis",
      "topics": [
        "coef.boot_test_mediation",
        "coef.fit_mediation",
        "coef.test_mediation"
      ]
    },
    {
      "page": "confint.test_mediation",
      "title": "Confidence intervals from (robust) mediation analysis",
      "topics": [
        "confint.boot_test_mediation",
        "confint.sobel_test_mediation",
        "confint.test_mediation"
      ]
    },
    {
      "page": "cov_control",
      "title": "Tuning parameters for Huber M-estimation of location and scatter",
      "topics": [
        "cov_control"
      ]
    },
    {
      "page": "cov_Huber",
      "title": "Huber M-estimator of location and scatter",
      "topics": [
        "cov_Huber",
        "print.cov_Huber"
      ]
    },
    {
      "page": "cov_ML",
      "title": "Maximum likelihood estimator of mean vector and covariance matrix",
      "topics": [
        "cov_ML",
        "print.cov_ML"
      ]
    },
    {
      "page": "density_plot",
      "title": "Density plot of the indirect effect(s)",
      "topics": [
        "density_plot",
        "density_plot.default",
        "density_plot.list",
        "density_plot.setup_density_plot",
        "density_plot.sobel_test_mediation"
      ]
    },
    {
      "page": "ellipse_plot",
      "title": "Diagnostic plot with a tolerance ellipse",
      "topics": [
        "ellipse_plot",
        "ellipse_plot.default",
        "ellipse_plot.setup_ellipse_plot"
      ]
    },
    {
      "page": "fit_mediation",
      "title": "(Robustly) fit a mediation model",
      "topics": [
        "fit_mediation",
        "fit_mediation.default",
        "fit_mediation.formula",
        "print.fit_mediation",
        "summary.cov_fit_mediation",
        "summary.reg_fit_mediation"
      ]
    },
    {
      "page": "m",
      "title": "Create an object of hypothesized mediators or control variables",
      "topics": [
        "covariates",
        "m",
        "parallel_m",
        "serial_m"
      ]
    },
    {
      "page": "p_value",
      "title": "p-Values from (robust) mediation analysis",
      "topics": [
        "p_value",
        "p_value.boot_test_mediation",
        "p_value.sobel_test_mediation"
      ]
    },
    {
      "page": "plot-methods",
      "title": "Plot (robust) mediation analysis results",
      "topics": [
        "autoplot.fit_mediation",
        "autoplot.test_mediation",
        "plot-methods",
        "plot.fit_mediation",
        "plot.test_mediation"
      ]
    },
    {
      "page": "reg_control",
      "title": "Tuning parameters for robust regression",
      "topics": [
        "median_reg_control",
        "MM_reg_control",
        "reg_control"
      ]
    },
    {
      "page": "retest",
      "title": "Retest for mediation",
      "topics": [
        "retest",
        "retest.boot_test_mediation",
        "retest.sobel_test_mediation"
      ]
    },
    {
      "page": "setup_ci_plot",
      "title": "Set up information for a dot plot with confidence intervals",
      "topics": [
        "setup_ci_plot",
        "setup_ci_plot.boot_test_mediation",
        "setup_ci_plot.list",
        "setup_ci_plot.sobel_test_mediation"
      ]
    },
    {
      "page": "setup_density_plot",
      "title": "Set up information for a density plot of the indirect effect(s)",
      "topics": [
        "setup_density_plot",
        "setup_density_plot.boot_test_mediation",
        "setup_density_plot.list",
        "setup_density_plot.sobel_test_mediation"
      ]
    },
    {
      "page": "setup_ellipse_plot",
      "title": "Set up a diagnostic plot with a tolerance ellipse",
      "topics": [
        "setup_ellipse_plot",
        "setup_ellipse_plot.cov_fit_mediation",
        "setup_ellipse_plot.list",
        "setup_ellipse_plot.reg_fit_mediation",
        "setup_ellipse_plot.test_mediation"
      ]
    },
    {
      "page": "setup_weight_plot",
      "title": "Set up a diagnostic plot of robust regression weights",
      "topics": [
        "setup_weight_plot",
        "setup_weight_plot.reg_fit_mediation",
        "setup_weight_plot.test_mediation"
      ]
    },
    {
      "page": "sim_mediation",
      "title": "Generate data from a fitted mediation model",
      "topics": [
        "rmediation",
        "sim_mediation",
        "sim_mediation.fit_mediation",
        "sim_mediation.test_mediation"
      ]
    },
    {
      "page": "summary.test_mediation",
      "title": "Summary of results from (robust) mediation analysis",
      "topics": [
        "summary.boot_test_mediation",
        "summary.sobel_test_mediation",
        "summary.test_mediation"
      ]
    },
    {
      "page": "test_mediation",
      "title": "(Robust) mediation analysis",
      "topics": [
        "print.boot_test_mediation",
        "print.sobel_test_mediation",
        "robmed",
        "test_mediation",
        "test_mediation.default",
        "test_mediation.fit_mediation",
        "test_mediation.formula"
      ]
    },
    {
      "page": "weight_plot",
      "title": "Diagnostic plot of robust regression weights",
      "topics": [
        "weight_plot",
        "weight_plot.default",
        "weight_plot.setup_weight_plot"
      ]
    },
    {
      "page": "weights.cov_Huber",
      "title": "Robustness weights of Huber M-estimation of location and scatter",
      "topics": [
        "weights.cov_Huber"
      ]
    }
  ],
  "_readme": "https://github.com/aalfons/robmed/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "cli",
    "cpp11",
    "DEoptimR",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mnormt",
    "numDeriv",
    "quantreg",
    "R6",
    "RColorBrewer",
    "rlang",
    "robustbase",
    "S7",
    "scales",
    "sn",
    "SparseM",
    "survival",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "robmed-intro.Rnw",
      "filename": "robmed-intro.pdf",
      "title": "Robust Mediation Analysis: The R Package robmed",
      "engine": "knitr::knitr",
      "headings": [],
      "created": "2022-02-18 21:33:07",
      "modified": "2025-12-08 16:01:22",
      "commits": 15
    }
  ],
  "_score": 6.2552725051033065,
  "_indexed": true,
  "_nocasepkg": "robmed",
  "_universes": [
    "aalfons"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-06-06T07:16:59.000Z",
      "distro": "noble",
      "commit": "938f47613f3ab5d78e27802d41556060cbaac309",
      "fileid": "532398cd9e0a4afc44303af58841cd6ee0626146e133f96738b34d51c53d26ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aalfons/actions/runs/27055794538"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-06-06T07:13:17.000Z",
      "distro": "noble",
      "commit": "938f47613f3ab5d78e27802d41556060cbaac309",
      "fileid": "e347f0474e6f9f0c47766303ccdfc5945dffc72444d3bd97e2e8824239cbb71a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aalfons/actions/runs/27055794538"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-06-06T07:13:24.000Z",
      "commit": "938f47613f3ab5d78e27802d41556060cbaac309",
      "fileid": "7e38abc5ec84f578ecb6e0b2650f685ef2f2cfc20d1240a4c1a4562cd6ad828d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aalfons/actions/runs/27055794538"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-06-06T07:13:17.000Z",
      "commit": "938f47613f3ab5d78e27802d41556060cbaac309",
      "fileid": "853194d47b9441174701a39827c1075853790bc376fd0dbb6bd9e1c07e57801d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aalfons/actions/runs/27055794538"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.0",
      "date": "2026-06-06T07:13:17.000Z",
      "commit": "938f47613f3ab5d78e27802d41556060cbaac309",
      "fileid": "abdf129a6195d35c849aba9120f818b5a7935479018a9a2cd3cf409ccb29d1b7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/aalfons/actions/runs/27055794538"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-06-06T07:12:44.000Z",
      "commit": "938f47613f3ab5d78e27802d41556060cbaac309",
      "fileid": "5e5b7815bfe2fdbae515c7268567ba6a7ae2b00016ea1b65ed382a52bfb0d9fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aalfons/actions/runs/27055794538"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-06-06T07:13:04.000Z",
      "commit": "938f47613f3ab5d78e27802d41556060cbaac309",
      "fileid": "d6157c98ddfd1a35a7092d4f96885fb0a345a4539321a73239b3a1636be87541",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aalfons/actions/runs/27055794538"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-06-06T07:12:50.000Z",
      "commit": "938f47613f3ab5d78e27802d41556060cbaac309",
      "fileid": "668d2b333b33f11d869c5b50727567b3b0eb8e4ad47c317c458801d2731e69b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aalfons/actions/runs/27055794538"
    }
  ]
}