Description Usage Arguments Details Value See Also
Take two numeric vectors
and return their Coefficient of determination (R2
).
1 | R2mse(fprd, fobs)
|
fprd, fobs |
two numeric vectors. The first vector contains predicted or modelled values. The second vector contains the reference (observed) values. |
Be careful, the function R2mse
is not symmetrical.
The first argument fprd
is vector of estimated, modelled or
predicted values. The second argument fobs
is the vector
of reference. Both the vectors have the same length:
length(fprd) = length(fobs)
.
Return the Coefficient of Determination (R2
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.