title: How does one extract hat values and Cook's Distance from an `nlsLM` model object in R?
body: <p>I'm using the <code>nlsLM</code> function to fit a nonlinear regression.  How does one extract the hat values and Cook's Distance from an <code>nlsLM</code> model object?</p>
  
  <p>With objects created using the <code>nls</code> or <code>nlreg</code> functions, I know how to extract the hat values and the Cook's Distance of the observations, but I can't figure out how to get them using <code>nslLM</code>.</p>
  
  <p>Can anyone help me out on this? Thanks!</p>