ScottLogic/insight — pull request #120 by matthewdunsdon (2014-08-15 13:00:19+00:00)
Title: Improve robustness of correlation calculations

Introduces additional error handling for correlation and added tests to verify this.

As part of this work, a helper function was introduced to create property accessor functions.

An ErrorContainer was also introduced, in order to allow error and warnings to be passed back to the user.

Finally the average calculations, performed by grouping, were improved to handle taking the average of optional properties.