state_arima: state_arima: Run this first to do ARIMA by state functions

View source: R/arima-spike-multigeo.R

state_arimaR Documentation

state_arima: Run this first to do ARIMA by state functions

Description

state_arima: Run this first to do ARIMA by state functions

Usage

state_arima(data, begin = T, end = T, interrupt = "2020-03-01", kalman = F)

Arguments

data

A dataframe including time as timestamp and searches for your given geography in one column.

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.

Examples

state_list <- state_arima(
  data = read.csv("./temp/data.csv", header = T, stringsAsFactor = F),
  interrupt = "2019-03-01"
)

tlcaputi/gtrendR documentation built on Nov. 3, 2022, 10:46 p.m.