Description Usage Arguments Value Examples
View source: R/plot_prediction.R
Plot results from cv_arima (by ggplot2
)
1 2 3 4 5 6 7 8 9 10 11 12 13 |
splits |
list of prediction data.frames |
col_date |
Date column, default to "index" |
col_value |
Value column, default to "value" |
col_group |
Group column , default to "key" ("actual" and "predict") - see example |
title |
diagram title |
date_type |
string vector - one of "datetime", "date" or "character" |
ncol |
Number of columns |
scale |
NULL or two Date values to scale x-axis |
PI |
add prediction interval? |
col_pi_high |
Upper confidence bound |
col_pi_low |
Lower confidence bound |
ggplot2 object
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.