title: Fitting polynomial model to data in R
body: <p>I've read the answers to this <a href="https://stackoverflow.com/questions/382186/fitting-polynomials-to-data">question</a> and they are quite helpful, but I need help.</p>
  <p>I have an example data set in R as follows:</p>
  <pre><code>x &lt;- c(32,64,96,118,126,144,152.5,158)  
  y &lt;- c(99.5,104.8,108.5,100,86,64,35.3,15)
  </code></pre>
  <p>I want to fit a model to these data so that <code>y = f(x)</code>. I want it to be a 3rd order polynomial model.</p>
  <p>How can I do that in R?</p>
  <p>Additionally, can R help me to find the best fitting model?</p>