File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 1- # ' @keyword internal
2- . group_level_total <- function (model , ... ) {
3- UseMethod(" . group_level_total" )
1+ # ' @keywords internal
2+ group_level_total <- function (model , ... ) {
3+ UseMethod(" group_level_total" )
44}
55
66
7- # ' @keyword internal
8- . group_level_total.glmmTMB <- function (model , ... ) {
7+ # ' @keywords internal
8+ group_level_total.glmmTMB <- function (model , ... ) {
99 params <- suppressWarnings(insight :: compact_list(stats :: coef(model )))
1010 params_cond <- params $ cond
1111 params_zi <- params $ zi
2020 params_cond ,
2121 group_levels = group_levels
2222 )
23+ params_cond $ Component = " conditional"
2324 }
2425 if (! is.null(params_zi )) {
2526 group_levels <- insight :: compact_list(lapply(
3233 group_levels = group_levels ,
3334 component = " zero_inflated_random"
3435 )
36+ params_zi $ Component = " zero_inflated"
3537 }
38+
39+ rbind(params_cond , params_zi )
3640}
3741
3842
You can’t perform that action at this time.
0 commit comments