| r2 | R Documentation | 
R^2 (coefficient of determination)R^2 (coefficient of determination)
r2(y_true, y_pred)
y_true | 
 A numeric vector with ground truth values.  | 
y_pred | 
 A numeric vector with predicted values.  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.