 <p>When doing the binomial or quasibinomial <code>glm</code>, you either supply a probability of success, a two-column matrix with the columns giving the numbers of successes and failures or a factor where the first level denotes failure and the others success on the left hand side of the equation. See details in <code>?glm</code>.</p>