Skip to content

Commit

Permalink
fix: signature for deviance
Browse files Browse the repository at this point in the history
  • Loading branch information
niekdt committed Jan 15, 2024
1 parent 756e64f commit 6c318f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/modelMixAK_GLMMlist.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 6c318f0

Please sign in to comment.