Description Usage Arguments Details Value Author(s) Examples
Calculates the Coefficient of determination (R2) from observed and predicted values.
1 | r2(o, p)
|
o |
A numeric vector. Observed values. |
p |
A numeric vector. Predicted values. |
Interpretation: larger is better.
Coefficient of determination (R2)
Kristin Piikki, Johanna Wetterlind, Mats Soderstrom and Bo Stenberg, E-mail: kristin.piikki@slu.se
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.