performance_score_r2 {collinear} | R 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()
[Package collinear version 2.0.0 Index]