I'm using the check_model
function within the performance package in r (version 4.0.3) to check the assumptions of a linear mixed model I've built in lmer4. I want check_model
to give me all checks apart from the check for influential observations. The problem is I can use the check =
argument to specify a single check, but as soon as I ask it to perform multiple checks, it spits out an error. The reproducible code is below
library(tidyverse)
library(lme4)
test_data <- read_csv("https://raw.githubusercontent.com/gjpstrain/mixed_models_assignment/main/assignment1_data1(1).csv")`
tidy_test_data <- test_data %>%
mutate(subj = factor(subj), item = factor(item), (condition = factor(condition))
test_model <- lmer(DV ~ condition + (1 | subj) + (1 | item), data = tidy_test_data)
check_model(test_model, dot_size = .65, check = "ncv", "qq)
When I ask for more than one check I get the following error:
Error in munched$size[start] * .pt : non-numeric argument to binary operator