knitr::opts_chunk$set(echo = TRUE)
library(tidyverse) bitcoin_ts <- read_csv("D:/01_Projects/bitcoin/bitcoin_ts.csv") bitcoin_fc <- read_csv("D:/01_Projects/bitcoin/bitcoin_fc.csv")
knitr::kable(head(bitcoin_ts)) knitr::kable(head(bitcoin_fc))
library(forvision) bitcoin_af <- createAFTS(bitcoin_ts, bitcoin_fc) plotCoverage(bitcoin_af, pi = 70, methods = "auto.arima", horizons = 1:9)
plotCoverage(bitcoin_af, pi = 90, methods = "auto.arima", horizons = 10:19)
plotCoverage(bitcoin_af, pi = 70, methods = "auto.ets", horizons = 1:9)
plotCoverage(bitcoin_af, pi = 90, methods = "auto.ets", horizons = 10:19)
plotCoverage(bitcoin_af, pi = 70, methods = "naive", horizons = 1:9)
plotCoverage(bitcoin_af, pi = 90, methods = "naive", horizons = 10:19)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.