Aggregates
Aggregate
regr_slope()
Returns the slope of the linear regression line for non-NULL pairs in a group.
Arguments & returns
regr_slope(y, x)
Aggregate
| Overload link | y | x |
Returns |
|---|---|---|---|
| #01 | DOUBLE | DOUBLE |
DOUBLE |
Example
Haybarn WASM 1.5.5-rc3 · In your browser
Engine example with sample data · Run to view results.