Skip to content
No description, website, or topics provided.
R
Branch: master
Clone or download
cardiomoon 0.2.2.5
0.2.2.5
Latest commit 7f8ed47 Sep 3, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R 0.2.2.5 Sep 3, 2019
data 0.2.1.3 Jun 24, 2019
figure 0.1.0 Feb 28, 2019
inst 0.2.2.2 Jul 27, 2019
man 0.2.2.5 Sep 3, 2019
vignettes 0.1.0 Feb 28, 2019
.DS_Store 0.1.7 Apr 8, 2019
.RData 0.2.2.0 Jul 18, 2019
.Rbuildignore 0.1.0 Feb 28, 2019
.Rhistory 0.2.2.5 Sep 3, 2019
.gitattributes Initial commit Feb 17, 2019
.gitignore 0.1.0 Feb 27, 2019
CRAN-RELEASE 0.1.0 Mar 7, 2019
DESCRIPTION 0.2.2.5 Sep 3, 2019
NAMESPACE 0.2.2.5 Sep 3, 2019
NEWS.md 0.2.2.5 Sep 3, 2019
README.md 0.1.5 Apr 3, 2019
cran-comments.md 0.1.0 Mar 6, 2019
processR.Rproj 0.1.0 Feb 17, 2019

README.md

R package processR

CRAN_Status_Badge

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

processR is under the GPL-3 license. For a commercial license, please [contact me](mailto: cardiomoon@gmail.com).

If you find processR useful, please consider supporting its development!

PROCESS macro and R package processR

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.

Installation

You can install the processR package from github.

if(!require(devtools)) install.packages("devtools")
devtools::install_github("cardiomoon/processR")

What does this package cover ?

The processR package covers moderation, mediation, moderated mediation and moderated moderation with R. Supporting models are as follows.

library(processR)
sort(pmacro$no)
 [1]  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
[15] 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
[29] 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
[43] 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.

Example: Moderated Mediation (PROCESS macro model 8)

I will explain functions of processR package by a example.

Concept Diagram and Statistical Diagram

You can draw concept diagram and statistical diagram easily. For example, you can draw the concept diagram for PROCESS macro model 8.

pmacroModel(8)

You can draw statistical diagram of this model.

statisticalDiagram(8)

Full vignette

You can see full vignette for model 8 at http://rpubs.com/cardiomoon/468602

Shiny App

I have developed a shiny app. You can test the app at http://web-r.space:3838/processR. I will appreciate any comment.

How to perform this analysis with shiny app

You can see how to perform this analysis at http://rpubs.com/cardiomoon/468600

Sample powerpoint file

In the shiny app, you can download the analysis results as a powerpoint file. You can download the sample file model8.pptx - view with office web viewer.

You can’t perform that action at this time.