Perform moderation, mediation, moderated mediation and moderated moderation. Inspired from famous 'PROCESS' macro for 'SPSS' and 'SAS' created by Andrew Hayes.
processR package aims to be a user-friendly way to perform moderation, mediation, moderated mediation and moderated moderation in R. This package is inspired from famous PROCESS macro for SPSS and SAS created by Andrew Hayes.
Andrew F. Hayes was not involved in the development of this R package or application and cannot attest to the quality of the computations implemented in the code you are using. Use at your own risk.
You can install the
processR package from github.
processR package covers moderation, mediation, moderated mediation and moderated moderation with R. Supporting models are as follows.
 0.0 1.0 2.0 3.0 4.0 4.2 5.0 6.0 6.3 6.4 7.0 8.0 9.0 10.0  11.0 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0 20.0 21.0 22.0 23.0 24.0  28.0 29.0 30.0 31.0 35.0 36.0 40.0 41.0 45.0 49.0 50.0 58.0 59.0 60.0  61.0 62.0 63.0 64.0 65.0 66.0 67.0 74.0 75.0 76.0
Currently, 52 models are supported.
I will explain functions of processR package by a example.
You can draw concept diagram and statistical diagram easily. For example, you can draw the concept diagram for PROCESS macro model 8.
You can draw statistical diagram of this model.
You can see full vignette for model 8 at http://rpubs.com/cardiomoon/468602
I have developed a shiny app. You can test the app at http://web-r.space:3838/processR. I will appreciate any comment.
You can see how to perform this analysis at http://rpubs.com/cardiomoon/468600
New data pmacro, nodes, parrows, caskets, disaster, education, estress, glbwarm, pmi, protest and teams added
New function addArrows, addCatVars, addCovarEquation, addNodes, catMediation, centerPrint, changeLabelName, conceptDiagram, conceptDiagram2, conditionalEffectPlot, corPlot, corTable, corTable2, discriminantValidityTable, discriminantValidityTable2, drawStatDiagram, drawtext, estimatesTable, estimatesTable2, extractX, findName, findNames, fit2alpha, fit2df2, fun2eq, getAspectRatio, getHelmert, getInfo, getRatioTable, getYhat,interactStr, makeCatEquation, makeEquation, makeIndirectEquation, makeIndirectEquationCat, meanCentering, modelFitGuideTable, modelFitGuideTable2, modelFitTable, modelFitTable2, modelsSummary, modelsSummaryTable, modmedEquation, modmedSummary, modmedSummaryTable, myarrow, myflatten, myformat, pformat, pmacroModel, regEquation, reliabilityTable, reliabilityTable2, removeParentheses, rightPrint, seekGroup, seekNameVars, seekVar, showModels, statisticalDiagram, str2vector, strGrouping, str_detect2, str_setdiff, sumEquation, treatModerator, tripleEquation and tripleInteraction added