View source: R/mean_absolute_error.R
mean_absolute_error | R Documentation |
Mean Absolute Error used as an assessment tool
mean_absolute_error(y, ypre)
y<- |
c(5:20) - vector representing number of true values |
ypre<- |
predict(lm(y ~ x)) - vector denoting values of number of y predicted values. |
MAE is the average of the absolute error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.