Description Usage Arguments Details Value See Also Examples
Mean Absolute Percent Error (MAPE).
1 |
x |
A vector of class numeric. |
na.rm |
Logical. Should the NA values be excluded. Default is TRUE. |
Estimates the Mean Absolute Percent Error (MAPE) for a given vector. The MAPE compares the individual values against their mean and translates the mean of the differences into a percent deviation from the mean of the vector. The MAPE is estimated as:
100 / length(x) * sum(abs((x-mean(x))/x))
A numeric element.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.