Closed shinokada closed 10 years ago
I'm not quite sure that R squared is in the scope of this gem. This is meant to calculate descriptive statistics and R squared seems to be more related to regression analysis and statistical modeling in general. You may be more interested in projects like https://github.com/escline/linefit or others that are geared toward this type of modeling.
It will be great to calculate this as well.