indProd(data, var1, var2, match = TRUE, meanC = TRUE, residualC = FALSE, doubleMC = TRUE, namesProd = NULL)TRUE to use match-paired approach (Marsh, Wen, & Hau, 2004). If FALSE, the resulting products are all possible products.TRUE for mean centering the main effect indicator before making the productsTRUE for residual centering the products by the main effect indicators (Little, Bovaird, & Widaman, 2006).TRUE for centering the resulting products (Lin et. al., 2010)simFunctionto use this function within a simulation studydat <- indProd(attitude[,-1], var1=1:3, var2=4:6)Run the code above in your browser using DataLab