title: R: Cohen's d for group sizes >2, using glm
body: <p>Is there a package that will calculate Cohen's d from a glm formula for all groups? I have 4 independent variables with group sizes of 2, 5, 6, and 17. </p>
  
  <p>The most common packages, <code>compute.es</code>, <code>effsize</code> and so forth do not do a Cohen's d from a glm formula or for group sizes more than 2. </p>
  
  <p>Thanks!</p>