RMSE | R Documentation |
Computes the Root Mean Square Error (RMSE) from a vector of differences.
RMSE(differences)
differences |
a vector of differences. |
RMSE value
prepareObserved
and meanDifferences
.
# Generate the data.frame of Mean Differences and Zero Probability Difference
MD_df <- data.frame(MD = rpois(10, 5), ZPD = runif(10, -1, 1))
# Calculate RMSE for MD and ZPD values
RMSE(MD_df[, "MD"])
RMSE(MD_df[, "ZPD"])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.