glmmTBM - finding OR for fixed effects

hey, trying to get the odd ratios of the model's coefficients.
Here's the code:

model2 <- glmmTMB(ExerciseTotV2 ~ (pExerciseTotV2mc) * CSImc+mpExerciseTotV2gmc*(mCSIgmc) + ( 1| Couple),
ziformula = ExerciseTotV2 ~ (pExerciseTotV2mc) * CSImc+mpExerciseTotV2gmc*(mCSIgmc) + ( 1| Couple),
data = temp2 %>% filter(patient==1), family = poisson)


or_table <- exp(cbind(OR = fixef(model2)[2:3], confint(model2)[2:3]))

and the error:
Error in exp(coef(model2)) :
non-numeric argument to mathematical function

thank you!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.