LinearFit.opCall
class LinearFit
static
opCall
(
,,double lower = double.nan ,double upper = double.nan )
if (
isInputRange!R1 &&
is(
ElementType!
R1 :
double)
&&
isInputRange!R2
&&
is(
ElementType!
R2 :
double)
)
plot2killplotLinearFit
propertiesstatic functions
Compute the regression coefficients and create a best-fit line, where x is the independent variable and y is the dependent variable. lowerLim and upperLim control how far the best-fit line is extended in each direction along the X-axis. By default the line is extended between the minimum and maximum values of x.