mape: Mean absolute percentage error

View source: R/metrics.R

mapeR Documentation

Mean absolute percentage error

Description

Mean absolute percentage error

Usage

mape(x, y, na.rm = FALSE)

Arguments

x

a numeric vector of predicted values.

y

a numeric vector of true values.

na.rm

a logical evaluating to TRUE or FALSE indicating whether NA values should be stripped before the computation proceeds.

Value

numeric value


eguidotti/eap documentation built on Sept. 4, 2024, 3:43 a.m.