Description Usage Arguments Details See Also Examples
ape computes the elementwise absolute percent difference between two numeric
vectors
| 1 | ape(actual, predicted)
 | 
| actual | The ground truth numeric vector. | 
| predicted | The predicted numeric vector, where each element in the vector
is a prediction for the corresponding element in  | 
ape is calculated as (actual - predicted) / abs(actual).
This means that the function will return -Inf, Inf, or NaN
if actual is zero.
| 1 2 3 | 
[1] 0.18181818 0.05263158 0.16666667 0.02272727 0.00000000 0.10714286
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.