robmed_GUI {robmedExtra}R Documentation

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)

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.

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).

Value

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

Note

The graphical user interface is still experimental. It may change in future versions based on user feedback.

Author(s)

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

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

## Not run: 

# start graphical user interface
robmed_GUI()

## End(Not run)



[Package robmedExtra version 0.1.0 Index]