RegressionTransform
RegressionTransform =
object
Defined in: spec/transform.ts:106
Fits a trend line through a scatter of points.
method names the shape being fitted, order the degree when that shape is
a polynomial. The fit is an assertion about the data, not a reading of it,
which is why it is a transform and not a second frame.
Properties
Section titled “Properties”groupBy?
Section titled “groupBy?”
optionalgroupBy?: readonlystring[]
Defined in: spec/transform.ts:112
kind:
"regression"
Defined in: spec/transform.ts:107
method?
Section titled “method?”
optionalmethod?:"linear"|"log"|"exp"|"pow"|"quad"|"poly"|"loess"
Defined in: spec/transform.ts:110
order?
Section titled “order?”
optionalorder?:number
Defined in: spec/transform.ts:111
x:
string
Defined in: spec/transform.ts:108
y:
string
Defined in: spec/transform.ts:109