title: glmer - predict with binomial data (cbind count data)
body: <p>I am trying to predict values over time (Days in x axis) for a glmer model that was run on my binomial data. Total Alive and Total Dead are count data. This is my model, and the corresponding steps below. </p>
  
  <pre><code>full.model.dredge&lt;-glmer(cbind(Total.Alive,Total.Dead)~(CO2.Treatment+Lime.Treatment+Day)^3+(Day|Container)+(1|index),
                           data=Survival.data,family="binomial")
  </code></pre>
  
  <p>We have accounted for overdispersion as you can see in the code (1:index).</p>
  
  <p>We then use the dredge command to determine the best fitted models with the main effects (CO2.Treatment, Lime.Treatment, Day) and their corresponding interactions.</p>
  
  <pre><code>dredge.models&lt;-dredge(full.model.dredge,trace=FALSE,rank="AICc")
  </code></pre>
  
  <p>Then made a workspace variable for them</p>
  
  <pre><code>my.dredge.models&lt;-get.models(dredge.models)
  </code></pre>
  
  <p>We then conducted a model average to average the coefficients for the best fit models</p>
  
  <pre><code>silly&lt;-model.avg(my.dredge.models,subset=delta&lt;10)
  </code></pre>
  
  <p>But now I want to create a graph, with the Total Alive on the Y axis, and Days on the X axis, and a fitted line depending on the output of the model. I understand this is tricky because the model concatenated the Total.Alive and Total.Dead (see <code>cbind(Total.Alive,Total.Dead)</code> in the model.</p>
  
  <p>When I try to run a predict command I get the error</p>
  
  <pre><code># 9: In UseMethod("predict") :
  #   no applicable method for 'predict' applied to an object of class "mer"
  </code></pre>