title: get the overall number of events for each group of a survfit object
body: <p>I use R's <a href="http://cran.r-project.org/web/packages/survival/index.html" rel="nofollow">survival</a> package and generated a survfit object with different groups.</p>
  
  <p>I know want to access the number of events (which is <code>records - right censored</code>) for each group.</p>
  
  <p>When I use <code>print(survobject)</code> there is a column <code>events</code> which shows the number of events for each group. However, I don't succeed to extract this column for instance as a vector.</p>