Function regr_slope

Source
pub fn regr_slope(y: impl Into<Column>, x: impl Into<Column>) -> Column
Expand description

Returns the slope of the linear regression line for non-null pairs in a group, where y is the dependent variable and x is the independent variable.