Learn R Programming

robmedExtra (version 0.1.0)

robmed_GUI: Graphical user interface for (robust) mediation analysis

Description

Open a shiny app that provides a graphical user interface for (robust) mediation analysis via package robmed.

Usage

robmed_GUI(data = NULL)

Value

No return value, the function is called for its side effect of starting a shiny app.

Arguments

data

optional; a data frame to be selected by default in the graphical user interface. Note that if the supplied object is not a data frame or does not exist in the global environment, the graphical user interface is opened as if the argument were not supplied.

Author

Andreas Alfons and Aurore Archimbaud, based on an initial prototype by Vincent Drenth.

Details

The graphical user interface allows to select or import a data set, to perform the robust bootstrap test ROBMED (Alfons et al., 2022a) or the OLS bootstrap test (e.g., Preacher & Hayes, 2004, 2008), and to easily export results for reporting (including a replication file in the form of an R script).

References

Alfons, A., Ates, N.Y. and Groenen, P.J.F. (2022a) A Robust Bootstrap Test for Mediation Analysis. Organizational Research Methods, 25(3), 591--617. doi:10.1177/1094428121999096.

Alfons, A., Ates, N.Y. and Groenen, P.J.F. (2022b) Robust Mediation Analysis: The R Package robmed. Journal of Statistical Software, 103(13), 1--45. doi:10.18637/jss.v103.i13.

Preacher, K.J. and Hayes, A.F. (2004) SPSS and SAS Procedures for Estimating Indirect Effects in Simple Mediation Models. Behavior Research Methods, Instruments, & Computers, 36(4), 717--731. doi:10.3758/bf03206553.

Preacher, K.J. and Hayes, A.F. (2008) Asymptotic and Resampling Strategies for Assessing and Comparing Indirect Effects in Multiple Mediator Models. Behavior Research Methods, 40(3), 879--891. doi:10.3758/brm.40.3.879.

See Also

test_mediation

Examples

Run this code
if (FALSE) {

# start graphical user interface
robmed_GUI()
}


Run the code above in your browser using DataLab