R/duckdb-funs.R
regr_intercept.Rd
Returns the intercept of the univariate linear regression line for non-NULL pairs in a group.
regr_intercept(y = DOUBLE, x = DOUBLE)
DOUBLE
AVG(y)-REGR_SLOPE(y, x)*AVG(x)