abs_pct_error | R Documentation |
Absolute Percentage Error
abs_pct_error(x, y)
x |
[numeric()] [vector()] actual values |
y |
[numeric()] [vector()] forecast values |
[numeric()] [vector()] absolute percentage errors
x <- seq(0, 10, 0.1)
y <- seq(10, 0, -0.1)
m <- abs_pct_error(x, y)
plot(m, type = "l")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.