{
  "_id": "6adb204255731c523ae76382",
  "Package": "JSmediation",
  "Title": "Mediation Analysis Using Joint Significance",
  "Version": "0.2.3",
  "Authors@R": "c(person(given = \"Cédric\",\nfamily = \"Batailler\",\nrole = c(\"aut\", \"cre\"),\nemail = \"cedric.batailler@gmail.com\",\ncomment = c(ORCID = \"0000-0003-0553-6827\")),\nperson(given = \"Dominique\",\nfamily = \"Muller\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0001-9544-5317\")),\nperson(given = \"Vincent\",\nfamily = \"Yzerbyt\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0003-1185-4733\")),\nperson(given = \"Charles\",\nfamily = \"Judd\",\nrole = \"aut\"),\nperson(given = \"Yoann\",\nfamily = \"Julliard\",\nrole = \"ctb\",\ncomment = c(ORCID = \"0000-0002-5428-6994\")),\nperson(given = \"Arnold\",\nfamily = \"Ho\",\nrole = \"dtc\"),\nperson(given = \"Nour\",\nfamily = \"Kteily\",\nrole = \"dtc\"),\nperson(given = \"Jacqueline\",\nfamily = \"Chen\",\nrole = \"dtc\"),\nperson(given = \"Simone\",\nfamily = \"Dohle\",\nrole = \"dtc\"),\nperson(given = \"Michael\",\nfamily = \"Siegrist\",\nrole = \"dtc\"))",
  "Description": "A set of helper functions to conduct joint-significance\ntests for mediation analysis, as recommended by Yzerbyt,\nMuller, Batailler, & Judd. (2018) <doi:10.1037/pspa0000132>.",
  "License": "MIT + file LICENSE",
  "URL": "https://jsmediation.cedricbatailler.me/,\nhttps://github.com/cedricbatailler/JSmediation",
  "BugReports": "https://github.com/cedricbatailler/JSmediation/issues",
  "VignetteBuilder": "knitr",
  "ByteCompile": "true",
  "Config/testthat/edition": "3",
  "Config/testthat/parallel": "true",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://cedricbatailler.r-universe.dev",
  "Date/Publication": "2025-01-26 18:53:17 UTC",
  "RemoteUrl": "https://github.com/cedricbatailler/jsmediation",
  "RemoteRef": "HEAD",
  "RemoteSha": "946212b0ac52091271bf0f640e1be6cdaa280d89",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-23 08:47:27 UTC",
    "User": "root"
  },
  "Author": "Cédric Batailler [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-0553-6827>),\nDominique Muller [aut] (ORCID: <https://orcid.org/0000-0001-9544-5317>),\nVincent Yzerbyt [aut] (ORCID: <https://orcid.org/0000-0003-1185-4733>),\nCharles Judd [aut],\nYoann Julliard [ctb] (ORCID: <https://orcid.org/0000-0002-5428-6994>),\nArnold Ho [dtc],\nNour Kteily [dtc],\nJacqueline Chen [dtc],\nSimone Dohle [dtc],\nMichael Siegrist [dtc]",
  "Maintainer": "Cédric Batailler <cedric.batailler@gmail.com>",
  "_user": "cedricbatailler",
  "_type": "src",
  "_file": "JSmediation_0.2.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/d720f2b297011ad47f791b8555eaf5f6ea8d707af11e4998f65418bae14f767d",
  "_filesize": 1073696,
  "_sha256": "d720f2b297011ad47f791b8555eaf5f6ea8d707af11e4998f65418bae14f767d",
  "_expires": "2027-01-31T08:52:16.000Z",
  "_created": "2026-10-23T08:47:27.000Z",
  "_published": "2026-10-23T08:52:18.033Z",
  "_upstream": "https://github.com/cedricbatailler/jsmediation",
  "_status": "success",
  "_maintainer": {
    "name": "Cédric Batailler",
    "email": "cedric.batailler@gmail.com",
    "login": "cedricbatailler",
    "mastodon": "@cedricbatailler@fosstodon.org",
    "linkedin": "in/cedricbatailler",
    "description": "Behavioral scientist focusing on social psychology. R and JS developer.\n",
    "uuid": 13061584,
    "orcid": "0000-0003-0553-6827"
  },
  "_jobs": [
    {
      "job": 120326378147,
      "time": 190,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12489349406"
    },
    {
      "job": 120326378118,
      "time": 182,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12490116333"
    },
    {
      "job": 120326378156,
      "time": 253,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12489629174"
    },
    {
      "job": 120326378137,
      "time": 227,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12490216962"
    },
    {
      "job": 120323637442,
      "time": 412,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12490076536"
    },
    {
      "job": 120326378170,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12490066790"
    },
    {
      "job": 120326378227,
      "time": 116,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12489188473"
    },
    {
      "job": 120326378249,
      "time": 90,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12490221566"
    },
    {
      "job": 120326378197,
      "time": 141,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12490685056"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cedricbatailler/actions/runs/39926331396",
  "_commit": {
    "id": "946212b0ac52091271bf0f640e1be6cdaa280d89",
    "author": "Cedric Batailler <cedric.batailler@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Prepare for v0.2.3 (#55)\n\n* Polish NEWS.md\n* Update cran-comments.md\n* Ran revdep\n* Bump version number to 0.2.3",
    "time": 1737917597
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.4.9",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "lavaan",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "mediation",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "performance",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "see",
      "version": ">= 0.6.5",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.2",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "cedricbatailler",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "mediation",
    "mediation-analysis",
    "psychology"
  ],
  "_stars": 8,
  "_contributors": [
    {
      "user": "cedricbatailler",
      "count": 180,
      "uuid": 13061584
    }
  ],
  "_userbio": {
    "uuid": 13061584,
    "type": "user",
    "name": "Cedric Batailler",
    "followers": 32,
    "description": "Behavioral scientist focusing on social psychology. R and JS developer.\r\n"
  },
  "_downloads": {
    "count": 391,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/JSmediation"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/cedricbatailler/jsmediation",
  "_pkgdown": "https://jsmediation.cedricbatailler.me/",
  "_searchresults": 41,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/JSmediation.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/cedricbatailler/jsmediation",
  "_realowner": "cedricbatailler",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-06-13"
    },
    {
      "version": "0.1.1",
      "date": "2020-01-30"
    },
    {
      "version": "0.1.2",
      "date": "2021-06-18"
    },
    {
      "version": "0.2.0",
      "date": "2021-09-03"
    },
    {
      "version": "0.2.1",
      "date": "2023-02-06"
    },
    {
      "version": "0.2.2",
      "date": "2024-02-28"
    },
    {
      "version": "0.2.3",
      "date": "2025-01-26"
    }
  ],
  "_exports": [
    "%>%",
    "add_index",
    "apastylr",
    "build_contrast",
    "check_assumptions",
    "compute_indirect_effect_for",
    "display_models",
    "extract_model",
    "extract_models",
    "extract_tidy_models",
    "mdt_moderated",
    "mdt_simple",
    "mdt_within",
    "mdt_within_wide",
    "plot_assumptions",
    "standardise_variable",
    "standardize_variable"
  ],
  "_datasets": [
    {
      "name": "dohle_siegrist",
      "title": "Dohle and Siegrist (2014, Exp 1) illustrating within-subject analysis (long-format)",
      "object": "dohle_siegrist",
      "class": [
        "data.frame"
      ],
      "fields": [
        "participant",
        "name",
        "hazardousness",
        "willingness"
      ],
      "rows": 44,
      "table": true,
      "tojson": true
    },
    {
      "name": "dohle_siegrist_wide",
      "title": "Dohle and Siegrist (2014, Exp 1) illustrating within-subject analysis (wide-format)",
      "object": "dohle_siegrist_wide",
      "class": [
        "data.frame"
      ],
      "fields": [
        "participant",
        "hazardousness_c",
        "hazardousness_s",
        "willingness_c",
        "willingness_s"
      ],
      "rows": 22,
      "table": true,
      "tojson": true
    },
    {
      "name": "ho_et_al",
      "title": "Data set showing simple and moderated mediation analysis",
      "object": "ho_et_al",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "condition",
        "sdo",
        "linkedfate",
        "hypodescent"
      ],
      "rows": 824,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_index",
      "title": "Adds an indirect effect index to a fitted mediation model",
      "topics": [
        "add_index"
      ]
    },
    {
      "page": "add_index.moderated_mediation",
      "title": "add_index method for moderated mediation",
      "topics": [
        "add_index.moderated_mediation"
      ]
    },
    {
      "page": "add_index.simple_mediation",
      "title": "add_index method for simple mediation",
      "topics": [
        "add_index.simple_mediation"
      ]
    },
    {
      "page": "add_index.within_participant_mediation",
      "title": "add_index method for within-participant mediation",
      "topics": [
        "add_index.within_participant_mediation"
      ]
    },
    {
      "page": "apastylr",
      "title": "Creates an APA formatted report from a significance test",
      "topics": [
        "apastylr"
      ]
    },
    {
      "page": "build_contrast",
      "title": "Builds a contrast code from character vector",
      "topics": [
        "build_contrast"
      ]
    },
    {
      "page": "check_assumptions",
      "title": "Test assumptions for models underlying the mediation",
      "concept": [
        "assumption checks"
      ],
      "topics": [
        "check_assumptions"
      ]
    },
    {
      "page": "compute_indirect_effect_for",
      "title": "Compute the indirect effect index for a specific value of the moderator",
      "topics": [
        "compute_indirect_effect_for"
      ]
    },
    {
      "page": "display_models",
      "title": "Displays models from a mediation object",
      "topics": [
        "display_models"
      ]
    },
    {
      "page": "dohle_siegrist",
      "title": "Dohle and Siegrist (2014, Exp 1) illustrating within-subject analysis (long-format)",
      "topics": [
        "dohle_siegrist"
      ]
    },
    {
      "page": "dohle_siegrist_wide",
      "title": "Dohle and Siegrist (2014, Exp 1) illustrating within-subject analysis (wide-format)",
      "topics": [
        "dohle_siegrist_wide"
      ]
    },
    {
      "page": "extract_model",
      "title": "Extracts a single model from a mediation_model object",
      "concept": [
        "extract functions"
      ],
      "topics": [
        "extract_model"
      ]
    },
    {
      "page": "extract_models",
      "title": "Extracts models from a mediation_model object",
      "concept": [
        "extract functions"
      ],
      "topics": [
        "extract_models"
      ]
    },
    {
      "page": "extract_tidy_models",
      "title": "Extracts models from a mediation object as a data frame",
      "concept": [
        "extract functions"
      ],
      "topics": [
        "extract_tidy_models"
      ]
    },
    {
      "page": "ho_et_al",
      "title": "Data set showing simple and moderated mediation analysis",
      "topics": [
        "ho_et_al"
      ]
    },
    {
      "page": "mdt_moderated",
      "title": "Fits a moderated mediation model",
      "concept": [
        "mediation models"
      ],
      "topics": [
        "mdt_moderated"
      ]
    },
    {
      "page": "mdt_simple",
      "title": "Joint-significance test for simple mediation",
      "concept": [
        "mediation models"
      ],
      "topics": [
        "mdt_simple"
      ]
    },
    {
      "page": "mdt_within",
      "title": "Joint-significance test for within-participant mediation",
      "concept": [
        "mediation models"
      ],
      "topics": [
        "mdt_within"
      ]
    },
    {
      "page": "mdt_within_wide",
      "title": "Joint-significance test for simple mediation (wide-format input)",
      "topics": [
        "mdt_within_wide"
      ]
    },
    {
      "page": "plot_assumptions",
      "title": "Returns diagnostic plots for the linear model used in a mediation",
      "concept": [
        "assumption checks"
      ],
      "topics": [
        "plot_assumptions"
      ]
    },
    {
      "page": "print.mediation_model",
      "title": "Print method for object of class 'mediation_model'",
      "topics": [
        "print.mediation_model"
      ]
    },
    {
      "page": "standardize_variable",
      "title": "Standardize variables in a data set.",
      "topics": [
        "standardise_variable",
        "standardize_variable"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cedricbatailler/jsmediation/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cedricbatailler/jsmediation/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "broom",
    "cli",
    "cpp11",
    "data.table",
    "dplyr",
    "evaluate",
    "generics",
    "glue",
    "highr",
    "knitr",
    "lifecycle",
    "magrittr",
    "MASS",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "moderated-mediation.Rmd",
      "filename": "moderated-mediation.html",
      "title": "Conducting a moderated mediation analysis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Conducting a Moderated Mediation Analysis",
        "Data Preparation",
        "Fitting the moderated mediation model",
        "Moderated mediation formalization",
        "Running the Analysis with mdt_moderated",
        "Reporting Moderated Mediation",
        "Compute the indirect effect for a moderator's value",
        "References"
      ],
      "created": "2021-09-01 14:07:34",
      "modified": "2021-09-02 07:30:52",
      "commits": 2
    },
    {
      "source": "jsmediation.Rmd",
      "filename": "jsmediation.html",
      "title": "Introduction to mediation analysis with JSmediation",
      "author": "Cédric Batailler",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Conducting a Simple Mediation",
        "Formalization of Simple Mediation",
        "Data Preparation",
        "Using mdt_fit",
        "Working with mediation_model Objects",
        "Interpreting the Results of a Mediation Model",
        "Reporting a Simple Mediation",
        "Miscellaneous",
        "References"
      ],
      "created": "2018-12-15 23:50:12",
      "modified": "2024-02-27 19:40:04",
      "commits": 7
    }
  ],
  "_score": 5.8169038393756605,
  "_indexed": true,
  "_nocasepkg": "jsmediation",
  "_universes": [
    "cedricbatailler"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-10-23T08:49:51.000Z",
      "distro": "resolute",
      "commit": "946212b0ac52091271bf0f640e1be6cdaa280d89",
      "fileid": "https://r2.ropensci.org/2c7fddad447e15c5be1266142fcae8e1440b30bf6d0f9f9a1792b9559b8bfa45",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cedricbatailler/actions/runs/39926331396"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-10-23T08:49:48.000Z",
      "distro": "resolute",
      "commit": "946212b0ac52091271bf0f640e1be6cdaa280d89",
      "fileid": "https://r2.ropensci.org/58e3cd0896ff85c5bebc802d4c4d9d7a4cd84395347f7481408b0e0396c981c6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cedricbatailler/actions/runs/39926331396"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-10-23T08:50:22.000Z",
      "commit": "946212b0ac52091271bf0f640e1be6cdaa280d89",
      "fileid": "https://r2.ropensci.org/95fb3470ad21022eb0347e777396f95a86eb89a267fae8ef6f288588aba8fbb9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cedricbatailler/actions/runs/39926331396"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-10-23T08:50:09.000Z",
      "commit": "946212b0ac52091271bf0f640e1be6cdaa280d89",
      "fileid": "https://r2.ropensci.org/853485089334e29cb2d4d3fba1d8aa9d38096bfce1d42a67398104da07412ada",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cedricbatailler/actions/runs/39926331396"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.3",
      "date": "2026-10-23T08:49:50.000Z",
      "commit": "946212b0ac52091271bf0f640e1be6cdaa280d89",
      "fileid": "https://r2.ropensci.org/626ad47d78e9747b7193a25bd89dd48370039ed5776cc4f0de74be259f91e0d0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cedricbatailler/actions/runs/39926331396"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-10-23T08:48:43.000Z",
      "commit": "946212b0ac52091271bf0f640e1be6cdaa280d89",
      "fileid": "https://r2.ropensci.org/a3a96ff7cf2201dd3a423107e6e9d1abf053b71aed2f832df168c044f9b25bbc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cedricbatailler/actions/runs/39926331396"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-10-23T08:48:31.000Z",
      "commit": "946212b0ac52091271bf0f640e1be6cdaa280d89",
      "fileid": "https://r2.ropensci.org/f2e6202ff7b188e1750e3ecc9d54f0bcb5c0d09e4cbf094ffceff6f77ff0bd49",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cedricbatailler/actions/runs/39926331396"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-10-23T08:48:52.000Z",
      "commit": "946212b0ac52091271bf0f640e1be6cdaa280d89",
      "fileid": "https://r2.ropensci.org/7b073c4c7e325891a793079062830430ad374f2fa39a236d969d51252e47e102",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cedricbatailler/actions/runs/39926331396"
    }
  ]
}