Skip to content

Documentation v1.0.0


Documentation / @openassistant/plots / computeRegression

Function: computeRegression()

computeRegression(props): ComputeRegressionResult

Defined in: echarts/scatterplot/utils.ts:50

Internal

Compute the regression for the scatterplot. If filteredIndex is provided, compute the regression for the selected points and the unselected points. Otherwise, only the regression for all points is computed.

Parameters

props

ComputeRegressionProps

The properties for computing regression

Returns

ComputeRegressionResult

The results of the regression. See ComputeRegressionResult for more details.

Released under the MIT License.