smape: sMAPE

Description Usage Arguments Value Author(s) Examples

View source: R/RcppExports.R

Description

The smape computes sMAPE (Symmetric Mean Absolute Percentage Error) of a forecast.

Usage

1
smape(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
smape(runif(50), runif(50))

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