From 6c318f08284537ae10e6724bbdf7a336ae1d2612 Mon Sep 17 00:00:00 2001 From: Niek Den Teuling Date: Mon, 15 Jan 2024 12:35:27 +0100 Subject: [PATCH] fix: signature for deviance --- R/modelMixAK_GLMMlist.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/modelMixAK_GLMMlist.R b/R/modelMixAK_GLMMlist.R index 05e5d41b..9898a665 100644 --- a/R/modelMixAK_GLMMlist.R +++ b/R/modelMixAK_GLMMlist.R @@ -38,7 +38,7 @@ coef.lcModelMixAK_GLMMlist = function(object, ...) { #' @exportS3Method stats::deviance -deviance.lcModelMixAK_GLMMlist = function(object) { +deviance.lcModelMixAK_GLMMlist = function(object, ...) { models = getGLMM_MCMCs(object) Reduce('+', lapply(models, deviance)) / length(models) }