ee.Reducer.linearFit

Returns a Reducer that computes the slope and offset for a (weighted) linear regression of 2 inputs. The inputs are expected to be x data followed by y data.. Where applicable, the outputs are named: "scale", "offset".

UsageReturns
ee.Reducer.linearFit()Reducer

No arguments.