performance_score_r2: Pearson's R-squared of Observations vs Predictions

View source: R/performance_score_r2.R

performance_score_r2R Documentation

Pearson's R-squared of Observations vs Predictions

Description

Internal function to compute the R-squared of observations versus model predictions.

Usage

performance_score_r2(o = NULL, p = NULL)

Arguments

o

(required, numeric vector) Response values. Default: NULL

p

(required, numeric vector) Model predictions. Default: NULL

Value

numeric: Pearson R-squared

See Also

Other modelling_tools: case_weights(), model_formula(), performance_score_auc(), performance_score_v()


collinear documentation built on April 12, 2025, 1:36 a.m.