MAPE: Mean Absolute Percentage Error

Description Usage Arguments Examples

View source: R/MAPE.R

Description

Mean Absolute Percentage Error.

Usage

1
MAPE(x, y)

Arguments

x,y

Two vectors of the same length.

Examples

1
2
3
x = runif(10)
y = runif(10)
MAPE(x,y)

Example output

Warning message:
no DISPLAY variable so Tk is not available 
[1] 70.9634

staTools documentation built on May 2, 2019, 2:17 a.m.

Related to MAPE in staTools...