From 5d764028d363469d6baff6a5983b978c6696cac6 Mon Sep 17 00:00:00 2001 From: Florian Hartig Date: Wed, 24 Jan 2024 17:00:14 +0100 Subject: [PATCH] Create 348.R --- Code/DHARMaIssues/348.R | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Code/DHARMaIssues/348.R diff --git a/Code/DHARMaIssues/348.R b/Code/DHARMaIssues/348.R new file mode 100644 index 00000000..a37055ab --- /dev/null +++ b/Code/DHARMaIssues/348.R @@ -0,0 +1,5 @@ +M2 <- glmer(cbind(Used, NotUsed) ~ Sex + type + (1 | ID), family = binomial, + data=Use_Avail) +simOut <- simulateResiduals(M2, plot = T) +plotResiduals(simOut, Use_Avail$type) +plotResiduals(simOut, Use_Avail$Sex) \ No newline at end of file