title: function for weighted least squares estimates
body: <p>Does R have a function for weighted least squares?  Specifically, I am looking for something that computes intercept and slope.</p>
  
  <p><strong>Data sets</strong></p>
  
  <ol>
  <li>1 3 5 7 9 11 14 17 19 25 29 </li>
  <li>17 31 19 27 31 62 58 35 29 21 18 </li>
  <li>102153 104123 96564 125565 132255 115454 114555 132255 129564 126455 124578 </li>
  </ol>
  
  <p>The dependent variable is dataset 3 and dataset 1 and 2 are the independent variables.</p>