I am trying to run a power analysis in R (using mixedpower) for a mixed-effects model that I ran I initially ran in Jamovi. However, the output in R is different from what I got in Jamovi.
It is a model with one categorical predictor, one continuous predictor, and two random intercepts. I have defined the categorical predictor as a factor using mydata$v1 <- factor(mydata$v1,levels = c(1,2),
labels = c("past", "future")) and applied contrast coding using contrasts(mydata$v1).
Is there something I am missing? I am fairly new to R so any suggestions would be helpful.