This package creates a function in R to replicate the macros for SPSS and SAS written by Montoya and Hayes (http://afhayes.com/spss-sas-and-mplus-macros-and-code.html). This estimates the indirect effect of X on Y through a mediator in the two-condition within-subjects/repeated measures design.
|License||MIT + file LICENSE|
|Package repository||View on GitHub|
Install the latest version of this package by entering the following in R:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.