Description Usage Arguments Value Author(s) References See Also Examples
This function returns box and whisker plots of absolute percentage errors (APE) for the given data from dataset for diferent methods
1 2 |
df |
A data frame containing columns "actual", "forecast", and "method". |
useLogs |
logical. If useLogs==TRUE the resulting box and whisker plotted in logarithmic scales. If FALSE the resulting box and whisker plotted in scales by default. |
notch |
logical. If the notch==TRUE, a notch is drawn in each side of the boxes. |
limits |
The minimum and maximum values on the axis APE. If xlim is NULL, minimum and maximum values are calculated based on given data. |
showOutliers |
If showOutliers is NA, the outliers are not drawn. |
... |
Other undocumented arguments. |
boxplotAPEs
function returns box and whisker plot of percentage errors for the given data
from dataset containing columns named "actual", "forecast" and "method" for different methods.
Andrey Davydenko, Maxim shcherbokov and Sai Van Cuong
Rob J. Hyndman, Anne B. Koehler (2006) Volume title: "International Journal of Forecasting".Chapter title: Another look at measures of forecast accuracy. Chapter pages : (p.679-688).http://eva.fcea.edu.uy/pluginfile.php/109034/mod_resource/content/0/2006_Hyndman_Predicc.pdf.
1 2 3 4 | boxplotAPEs(FORAYearForecast)
data1 <- FORAYearForecast[1:300,]
boxplotAPEs(data1)
boxplotAPEs(FORAYearForecast, notch = TRUE, limits = c(0, 0.5), showOutlier = NA)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.