User can give rounding precision in linear_regression
User can give rounding precision in linear_regression

Default is set to 2 decimals. Examples
>>> linear_regression([1, 2, 3, 4, 5], [2, 2.9, 3.95, 5.1, 5.9])
(1.0, 0.97)
>>> linear_regression([0, 1, 2, 3, 4], [1.429, 4.554, 7.679, 1.804, 13.929], decimals=3)
(2.225, 1.429)

sheriferson/simplestatistics,sheriferson/simple-statistics-py,tmcw/simple-statistics-py,jhowardanderson/simplestatistics