View source: R/performance_score_r2.R
| performance_score_r2 | R Documentation |
Internal function to compute the R-squared of observations versus model predictions.
performance_score_r2(o = NULL, p = NULL)
o |
(required, numeric vector) Response values. Default: NULL |
p |
(required, numeric vector) Model predictions. Default: NULL |
numeric: Pearson R-squared
Other modelling_tools:
case_weights(),
model_formula(),
performance_score_auc(),
performance_score_v()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.