powered by
the mape computes MAPE (Mean Absolute Percentage Error) of a forecast.
mape
mape(x, y)
the numeric vector of real values
the numeric vector of forecasted values
the numeric value in %
# NOT RUN { mape(runif(50), runif(50)) # }
Run the code above in your browser using DataLab