Description Usage Arguments Details Examples
Calculate the root mean square error of vectors x
and y
.
1 | rmse(x, y, na.rm = T)
|
x, y |
numerical vectors of same length. |
na.rm |
Remove NAs prior to calculation? Defaults to TRUE. |
sqrt( mean( ( x - y ) ^ 2 ) )
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.