View source: R/arima-spike-multigeo.R
state_arima | R Documentation |
state_arima: Run this first to do ARIMA by state functions
state_arima(data, begin = T, end = T, interrupt = "2020-03-01", kalman = F)
data |
A dataframe including time as |
begin |
Use data after this date to make a prediction |
end |
Predict up to this date |
interrupt |
The date where things change. ARIMA will be predicted on all days before the interrupt. |
state_list <- state_arima( data = read.csv("./temp/data.csv", header = T, stringsAsFactor = F), interrupt = "2019-03-01" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.