title: Create and Call Linear Models from List
body: <p>So I'm trying to compare different linear models in order to determine if one is better than another.  However I have several models, so I want to create an list of models and then call on them.  Is that possible?</p>
  
  <pre><code> Models &lt;- list(lm(y~a),lm(y~b),lm(y~c)
   Models2 &lt;- list(lm(y~a+b),lm(y~a+c),lm(y~b+c))
  
   anova(Models2[1],Models[1])
  </code></pre>
  
  <p>Thank you for your help!</p>