ChartDirector 7.0 (Python Edition)

TrendLayer.getCoefficient


Usage

getCoefficient(i)

Description

Gets the coefficients of the regression function.

The coefficients depend on the regression type. They are indexed as a0, a1, a2, ... in the regression type table published on TrendLayer.

Arguments

ArgumentDefaultDescription
i(Mandatory)The index of the coefficient to get.

Return Value

The coefficient ai in the regression function.