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..

UsageReturns
ee.Reducer.linearFit()Reducer

No arguments.