View source: R/error_functions.R
r2 | R Documentation |
r-square
r2(yobs, yhat)
yobs |
observed |
yhat |
predicted |
there are two rsquare functions because I clipped them from different pieces of code. They take different types of inputs but perform the same calculation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.