/R-MEMORE

Create functions 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 indirect effects of X on Y through a mediator in the two-condition within-subjects/repeated measures design.