rmse | R Documentation |
Computes the root mean-squared error between y
and yhat
, given
by sqrt(mean((y - yhat)^2))
.
rmse(y, yhat)
y |
the realized outcomes |
yhat |
the predicted outcomes |
Returns the root mean-squared error.
rmse(c(1,1,1), c(1,0,2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.