Package: JSmediation 0.2.2.9000

JSmediation: Mediation Analysis Using Joint Significance

A set of helper functions to conduct joint-significance tests for mediation analysis, as recommended by Yzerbyt, Muller, Batailler, & Judd. (2018) <doi:10.1037/pspa0000132>.

Authors:Cédric Batailler [aut, cre], Dominique Muller [aut], Vincent Yzerbyt [aut], Charles Judd [aut], Yoann Julliard [ctb], Arnold Ho [dtc], Nour Kteily [dtc], Jacqueline Chen [dtc], Simone Dohle [dtc], Michael Siegrist [dtc]

JSmediation_0.2.2.9000.tar.gz
JSmediation_0.2.2.9000.zip(r-4.5)JSmediation_0.2.2.9000.zip(r-4.4)JSmediation_0.2.2.9000.zip(r-4.3)
JSmediation_0.2.2.9000.tgz(r-4.4-any)JSmediation_0.2.2.9000.tgz(r-4.3-any)
JSmediation_0.2.2.9000.tar.gz(r-4.5-noble)JSmediation_0.2.2.9000.tar.gz(r-4.4-noble)
JSmediation_0.2.2.9000.tgz(r-4.4-emscripten)JSmediation_0.2.2.9000.tgz(r-4.3-emscripten)
JSmediation.pdf |JSmediation.html
JSmediation/json (API)
NEWS

# Install 'JSmediation' in R:
install.packages('JSmediation', repos = c('https://cedricbatailler.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/cedricbatailler/jsmediation/issues

Datasets:

On CRAN:

mediationmediation-analysispsychology

17 exports 8 stars 1.82 score 30 dependencies 2 mentions 35 scripts 378 downloads

Last updated 7 months agofrom:19ae8c34a8. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 28 2024
R-4.5-winNOTEAug 28 2024
R-4.5-linuxNOTEAug 28 2024
R-4.4-winNOTEAug 28 2024
R-4.4-macNOTEAug 28 2024
R-4.3-winNOTEAug 28 2024
R-4.3-macNOTEAug 28 2024

Exports:%>%add_indexapastylrbuild_contrastcheck_assumptionscompute_indirect_effect_fordisplay_modelsextract_modelextract_modelsextract_tidy_modelsmdt_moderatedmdt_simplemdt_withinmdt_within_wideplot_assumptionsstandardise_variablestandardize_variable

Dependencies:backportsbroomclicpp11data.tabledplyrevaluatefansigenericsgluehighrknitrlifecyclemagrittrMASSpillarpkgconfigpurrrR6rlangstringistringrtibbletidyrtidyselectutf8vctrswithrxfunyaml

Conducting a moderated mediation analysis

Rendered frommoderated-mediation.Rmdusingknitr::rmarkdownon Aug 28 2024.

Last update: 2021-09-02
Started: 2021-09-01

Introduction to mediation analysis with JSmediation

Rendered fromjsmediation.Rmdusingknitr::rmarkdownon Aug 28 2024.

Last update: 2024-02-27
Started: 2018-12-15

Readme and manuals

Help Manual

Help pageTopics
Adds an indirect effect index to a fitted mediation modeladd_index
add_index method for moderated mediationadd_index.moderated_mediation
add_index method for simple mediationadd_index.simple_mediation
add_index method for within-participant mediationadd_index.within_participant_mediation
Creates an APA formatted report from a significance testapastylr
Builds a contrast code from character vectorbuild_contrast
Test assumptions for models underlying the mediationcheck_assumptions
Compute the indirect effect index for a specific value of the moderatorcompute_indirect_effect_for
Displays models from a mediation objectdisplay_models
Dohle and Siegrist (2014, Exp 1) illustrating within-subject analysis (long-format)dohle_siegrist
Dohle and Siegrist (2014, Exp 1) illustrating within-subject analysis (wide-format)dohle_siegrist_wide
Extracts a single model from a mediation_model objectextract_model
Extracts models from a mediation_model objectextract_models
Extracts models from a mediation object as a data frameextract_tidy_models
Data set showing simple and moderated mediation analysisho_et_al
Fits a moderated mediation modelmdt_moderated
Joint-significance test for simple mediationmdt_simple
Joint-significance test for within-participant mediationmdt_within
Joint-significance test for simple mediation (wide-format input)mdt_within_wide
Returns diagnostic plots for the linear model used in a mediationplot_assumptions
Print method for object of class 'mediation_model'print.mediation_model
Standardize variables in a data set.standardise_variable standardize_variable