{
  "_id": "6a4b5fdba6574ff277f9a3c8",
  "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-07-06 07:52:40 UTC",
    "User": "root"
  },
  "_user": "aalfons",
  "_type": "src",
  "_file": "robmed_1.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/54c8c22dff88972815e2911426329ddd32076e9acc4042bd8fbf3ac2722aa3ff",
  "_filesize": 1433831,
  "_sha256": "54c8c22dff88972815e2911426329ddd32076e9acc4042bd8fbf3ac2722aa3ff",
  "_expires": "2026-10-14T07:57:13.000Z",
  "_created": "2026-07-06T07:52:40.000Z",
  "_published": "2026-07-06T07:57:15.007Z",
  "_jobs": [
    {
      "job": 85321235477,
      "time": 220,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8102887483"
    },
    {
      "job": 85321235443,
      "time": 200,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8102881103"
    },
    {
      "job": 85321235488,
      "time": 118,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8102852415"
    },
    {
      "job": 85321235444,
      "time": 175,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8102872271"
    },
    {
      "job": 85320655389,
      "time": 210,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8102809310"
    },
    {
      "job": 85321235431,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8102847722"
    },
    {
      "job": 85321235475,
      "time": 176,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8102872205"
    },
    {
      "job": 85321235465,
      "time": 171,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8102870791"
    },
    {
      "job": 85321235466,
      "time": 190,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8102877554"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/aalfons/actions/runs/28776177857",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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-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",
    "followers": 30
  },
  "_downloads": {
    "count": 453,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/robmed"
  },
  "_devurl": "https://github.com/aalfons/robmed",
  "_searchresults": 40,
  "_rbuild": "4.6.1",
  "_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": [
        "Introduction",
        "Methodology",
        "Package contents and implementation",
        "Illustrations: Using package robmed",
        "Summary and discussion",
        "Details on the diagnostic plot with a tolerance ellipse",
        "Additional summary output of robust bootstrap tests"
      ],
      "created": "2022-02-18 21:33:07",
      "modified": "2025-12-08 16:01:22",
      "commits": 15
    }
  ],
  "_score": 6.158362492095249,
  "_indexed": true,
  "_nocasepkg": "robmed",
  "_universes": [
    "aalfons"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-07-06T07:55:04.000Z",
      "distro": "resolute",
      "commit": "938f47613f3ab5d78e27802d41556060cbaac309",
      "fileid": "https://r2.ropensci.org/88696886172ceaf6a8ccc62958b84580fdd67af873719bb0b56770b867dc7f01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aalfons/actions/runs/28776177857"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-07-06T07:54:53.000Z",
      "distro": "resolute",
      "commit": "938f47613f3ab5d78e27802d41556060cbaac309",
      "fileid": "https://r2.ropensci.org/9eda765b7a064934e8ef2465a0c517802043356159d04ce64c2d72cd1bbe503d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aalfons/actions/runs/28776177857"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-07-06T07:54:09.000Z",
      "commit": "938f47613f3ab5d78e27802d41556060cbaac309",
      "fileid": "https://r2.ropensci.org/214a99c67bc92df9c4d86df0a9704114da8ecc1fb5d76b7a88480aec6716d005",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aalfons/actions/runs/28776177857"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-07-06T07:54:34.000Z",
      "commit": "938f47613f3ab5d78e27802d41556060cbaac309",
      "fileid": "https://r2.ropensci.org/672f54c70b5809e1e3e7a353077dfae7984c812aca4af5d592c155b96d8296aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aalfons/actions/runs/28776177857"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.0",
      "date": "2026-07-06T07:54:51.000Z",
      "commit": "938f47613f3ab5d78e27802d41556060cbaac309",
      "fileid": "https://r2.ropensci.org/48339b3aac0049de89c084f172fdf087e7e187877bf7a6aee785adaf8f51edbf",
      "status": "success",
      "buildurl": "https://github.com/r-universe/aalfons/actions/runs/28776177857"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-07-06T07:53:59.000Z",
      "commit": "938f47613f3ab5d78e27802d41556060cbaac309",
      "fileid": "https://r2.ropensci.org/bf5cb72d383a9356ff484022dc7fa11af634dd11caa9ebe13398f89635f5e996",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aalfons/actions/runs/28776177857"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-07-06T07:53:55.000Z",
      "commit": "938f47613f3ab5d78e27802d41556060cbaac309",
      "fileid": "https://r2.ropensci.org/5d3fdc0ead64225b0ec804704118ca4714918a1578e6c5cc91ba949d955ecbef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aalfons/actions/runs/28776177857"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-07-06T07:54:10.000Z",
      "commit": "938f47613f3ab5d78e27802d41556060cbaac309",
      "fileid": "https://r2.ropensci.org/9fb2a80c45abeb080ae2a491a0391d7939fb3ba817f4a4424af8128122358685",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/aalfons/actions/runs/28776177857"
    }
  ]
}