outcome_means <- tidyr::expand_grid(
group = c("Control", "Treatment"),
time = c("pre", "post")
)
outcome_means$mean <- c(10, 10, 12, 15) # Specify expected means
fixed_effects_from_average_outcome(
formula = score ~ group * time,
outcome = outcome_means
)
Run the code above in your browser using DataLab