If you are insterestedinterested in predictions:
MAPEThe :meanMAPE
function in R, or mean absolute percentage error (MAPE), is a measure of prediction accuracy of a forecasting method in statistics.
install.packages("MLmetrics") library(MLmetrics) MAPE(predict(model),real_values)
install.packages("MLmetrics")
library(MLmetrics)
MAPE(predict(model),real_values)