Learn R Programming

TSrepr (version 1.1.1)

mape: MAPE

Description

the mape computes MAPE (Mean Absolute Percentage Error) of a forecast.

Usage

mape(x, y)

Value

the numeric value in %

Arguments

x

the numeric vector of real values

y

the numeric vector of forecasted values

Author

Peter Laurinec, <[email protected]>

Examples

Run this code
mape(runif(50), runif(50))

Run the code above in your browser using DataLab