$_error
$_error : boolean
Indicator flag for a calculation error
PHPExcel_Linear_Best_Fit
__construct(array<mixed,float> $yValues, array<mixed,float> $xValues = array(), boolean $const = True)
Define the regression and calculate the goodness of fit for a set of X and Y data values
array<mixed,float> | $yValues | The set of Y-values for this regression |
array<mixed,float> | $xValues | The set of X-values for this regression |
boolean | $const |
_linear_regression(array<mixed,float> $yValues, array<mixed,float> $xValues, boolean $const)
Execute the regression and calculate the goodness of fit for a set of X and Y data values
array<mixed,float> | $yValues | The set of Y-values for this regression |
array<mixed,float> | $xValues | The set of X-values for this regression |
boolean | $const |