Documentation / @openassistant/plots / linearRegression
Function: linearRegression()
linearRegression(
x,y):RegressionResults
Defined in: echarts/math/linear-regression.ts:83
Perform linear regression on the data.
Parameters
x
number[]
The x data.
y
number[]
The y data.
Returns
The results of the linear regression.
