title: Finding Cook's Distance within subjects in R
body: <p>I have a data set with 700 different accounts. Each account has multiple lines with an x and y variable. So in total about 26000 lines of data. I am trying to find 'influential' points that are associated within the specific accounts. I have used lmlist function to get the estimated coefficients to a GLR.</p>
  
  <p><code>model3 &lt;- lmList(y ~ x | grp, data = dat)</code>    </p>
  
  <p>I have tried to use the influence and then the CookD function, but I believe it's not compatible with the lmList.</p>
  
  <p>I know that the cook functions work with lmer, but lmer throws a warning about failure to converge with my dataset:</p>
  
  <p><code>model1 &lt;- lmer(y ~ x + (x | grp) , data = dat)</code></p>
  
  <p>I have read many posts on this but still confused. I wish I had a little more expertise to write what I am trying to achieve. Any help would be greatly appreciated.</p>