Skip to content

Documentation v1.0.0


Documentation / @openassistant/plots / standardize

Function: standardize()

standardize(data): number[]

Defined in: echarts/math/linear-regression.ts:12

Standardize the data to have a mean of 0 and a standard deviation of 1.

Parameters

data

number[]

The data to standardize.

Returns

number[]

The standardized data.

Released under the MIT License.