title: Number of Observations in Regression
body: <p>How can i find out how many observations were used in a regression?</p>
  <pre><code>    model_simple &lt;- as.formula(&quot;completion_yesno ~  ac + ov + UCRate + FirstWeek + LastWeek + DayofWeekSu + DayofWeekMo + DayofWeekTu + DayofWeekWe + DayofWeekTh + DayofWeekFr + MonthofYearJan + MonthofYearFeb + MonthofYearMar + MonthofYearApr +MonthofYearMay+ MonthofYearJun + MonthofYearJul + MonthofYearAug + MonthofYearSep + MonthofYearOct + MonthofYearNov&quot;)
  clog_simple1 = glm(model_simple,data=cllw,family = binomial(link = cloglog))
  summary(clog_simple1)
  </code></pre>
  <p>I have tried the <code>fitted</code> command which did not result in a concrete number of observations N</p>