-
-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Labels
Bug 🐛Something isn't workingSomething isn't working
Description
Hello,
I have the following problem with the function "estimate_contrasts()":
model <- lmer(data = Data, observationVariable ~ factor1 * factor2 + (1|subjectID))
{no errors or warnings here}
contrasts <- estimate_contrasts(model, levels = "factor1", fixed = "factor2")
{Error in names(levelcols) <- c("Level1", "Level2") :
'names' attribute [2] must be the same length as the vector [0]}
No matter what I do, I always get this error using "estimate_contrasts()" with the "fixed" option. What do I do wrong? Why does the vector have a length of [0]?
Help would be very much appreciated.
Thank you very much and stay healthy!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Bug 🐛Something isn't workingSomething isn't working