{
  "_id": "6a12c2a0acfb0bcc41d1e4ee",
  "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-05-24 09:15:32 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>",
  "MD5sum": "dacebc4fc0d161d1666097fe4760284d",
  "_user": "cedricbatailler",
  "_type": "src",
  "_file": "JSmediation_0.2.3.tar.gz",
  "_fileid": "212949fc39e74095b5bbe4a537d8bfb4a0b047b8f0bf3b99b36c6e2fd0dc6e51",
  "_filesize": 1091791,
  "_sha256": "212949fc39e74095b5bbe4a537d8bfb4a0b047b8f0bf3b99b36c6e2fd0dc6e51",
  "_created": "2026-05-24T09:15:32.000Z",
  "_published": "2026-05-24T09:19:28.283Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77586338449,
      "time": 202,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183968696"
    },
    {
      "job": 77586338470,
      "time": 185,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183967022"
    },
    {
      "job": 77586338456,
      "time": 158,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183961252"
    },
    {
      "job": 77586338475,
      "time": 160,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183961289"
    },
    {
      "job": 77586133450,
      "time": 216,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183947240"
    },
    {
      "job": 77586338452,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183962279"
    },
    {
      "job": 77586338476,
      "time": 141,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183962444"
    },
    {
      "job": 77586338458,
      "time": 132,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183961436"
    },
    {
      "job": 77586338463,
      "time": 180,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183966351"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cedricbatailler/actions/runs/26357239026",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cedricbatailler/jsmediation",
  "_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
  },
  "_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"
  },
  "_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",
    "description": "Behavioral scientist focusing on social psychology. R and JS developer.\r\n"
  },
  "_downloads": {
    "count": 260,
    "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": 36,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/JSmediation.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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.760422483423212,
  "_indexed": true,
  "_nocasepkg": "jsmediation",
  "_universes": [
    "cedricbatailler"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-05-24T09:18:08.000Z",
      "distro": "noble",
      "commit": "946212b0ac52091271bf0f640e1be6cdaa280d89",
      "fileid": "7889f0e067ce66e0128c2570d7fe3f585db34de51b9dcc18fae7e7e19c9e7098",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cedricbatailler/actions/runs/26357239026"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-05-24T09:17:59.000Z",
      "distro": "noble",
      "commit": "946212b0ac52091271bf0f640e1be6cdaa280d89",
      "fileid": "69f962bbb2a59f39a2d6b1ee56e097b0cf8ddc0f51103581cc32468dbe73fad2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cedricbatailler/actions/runs/26357239026"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-05-24T09:17:25.000Z",
      "commit": "946212b0ac52091271bf0f640e1be6cdaa280d89",
      "fileid": "ead92e143574b3fd38ebb6850fbb8d859de7c646e06e9bdc753aca8434bca2dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cedricbatailler/actions/runs/26357239026"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-05-24T09:17:21.000Z",
      "commit": "946212b0ac52091271bf0f640e1be6cdaa280d89",
      "fileid": "6a7ee48b15f92413a930805c9fa9c2b8678b6421c3fa4b0710a4bb24122610e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cedricbatailler/actions/runs/26357239026"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.3",
      "date": "2026-05-24T09:18:08.000Z",
      "commit": "946212b0ac52091271bf0f640e1be6cdaa280d89",
      "fileid": "b213c9d495ecd01a64e3d07fdd2bebaa66becba4cbf73bb40668d6b3a6f57009",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cedricbatailler/actions/runs/26357239026"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-05-24T09:16:59.000Z",
      "commit": "946212b0ac52091271bf0f640e1be6cdaa280d89",
      "fileid": "1de664a2593539910e83c438d302b66a75a1ed1e75d39b844be0c49517cc0cf8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cedricbatailler/actions/runs/26357239026"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-05-24T09:16:47.000Z",
      "commit": "946212b0ac52091271bf0f640e1be6cdaa280d89",
      "fileid": "1a0642f9fca3b117e776732a6a6e87c21cb1b2dbb92ae5317f375c21368107fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cedricbatailler/actions/runs/26357239026"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-05-24T09:17:24.000Z",
      "commit": "946212b0ac52091271bf0f640e1be6cdaa280d89",
      "fileid": "e27040d237cc14d3bfc80532679c380cf96e4c6301eaf979d776a645ac74b319",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cedricbatailler/actions/runs/26357239026"
    }
  ]
}