Macaw.Data.Operations.Aggregates.Slope (macaw_data v0.5.3)

Copy Markdown View Source

slope: the least-squares slope of the points the readings are (spec/04 §5): a number v at place i is the point [i, v], a reading [x, y] (or {x, y}) the point itself. nil for fewer than two points, or when every x is equal.