regr_r2
aggregate function
Returns the coefficient of determination from values of a group where xExpr
and yExpr
are NOT NULL.
Since: Databricks Runtime 11.0
Arguments
yExpr
: An numeric expression, the dependent variable.xExpr
: An numeric expression, the independent variable.cond
: An optional boolean expression filtering the rows used for the function.