I would like some clarification on fitting a beta mixed model.
My dependent variable is the proportion of days that patients take medication. For every patient(Patient.ID), the pharmacy either had an intervention or no intervention (Int_code of 0/1). below is my model
library(glmmTMB)
Model5 <- glmmTMB(Proportion ~ Int_Name + (1|Patient.ID), data, family=list(family="beta",link="logit"))
I keep getting the the following error:

This was really helpful I really appreciate your assistance. I really should have asked for help sooner. Things make sense now.
– Lindo M Nov 24 '21 at 20:58