title: Selecting the statistically significant variables in an R glm model
body: <p>I have an outcome variable, say Y and a list of 100 dimensions that could affect Y (say X1...X100).</p>
  
  <p>After running my <code>glm</code> and viewing a summary of my model, I see those variables that are statistically significant. I would like to be able to select those variables and run another model and compare performance. Is there a way I can parse the model summary and select only the ones that are significant?</p>