Drop components in modelsummary
Consider the followin example:
library(glmmTMB)
library(modelsummary)
mod <- glmmTMB(
formula = mpg ~ cyl + disp + hp + (1|gear),
data = mtcars,
ziformula = ~ hp + wt
)
modelsummary(mod,
output = "flextable",
shape = component + effect + term + statistic ~ model,
)
which results in:

How can I drop the conditional -> random and zero_inflated -> fixed rows from the table and leave only the conditional component?