For the lmmpower function in R, it appears the default assumption of the function is that you are measuring change over time. If I am not using data from a longitudinal study how do I change the parameters of the function. I recognize there is an argument called parameter, but what would I be able to set parameter equal to?
Here is an example using sleep study data, found in a different post about lmmpower. If I am not using data like the sleep study data found in R, which is a longitudinal study, what are ways to change the parameter?
m<- lmer (Reaction ~ Days + (Days|Subject), sleepstudy)
lmmpower(m, pct.change = 0.30, parameter = 1, t = seq(0,9), power = 0.80)