I'm trying to perform linear mixed model with repeated measures. However, I have a difficulty with checking interaction between 3 independent variables. The data has 3 independent variables (factor1(2 levels), factor2(3 levels), factor3(2 levels)) and 1 dependent variable. The dependent variable was observed more than once (12) from 1 subject under each level of factor 1, 2, 3.
In R, I have run the commands as below:
library(nlme)
library(multcomp)
power_gap