mape: MAPE

Description Usage Arguments Value Author(s) Examples

View source: R/RcppExports.R

Description

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

Usage

1
mape(x, y)

Arguments

x

the numeric vector of real values

y

the numeric vector of forecasted values

Value

the numeric value in %

Author(s)

Peter Laurinec, <tsreprpackage@gmail.com>

Examples

1
mape(runif(50), runif(50))

TSrepr documentation built on July 13, 2020, 9:07 a.m.