multiterm_spaghetti: multiterm_spaghetti: Use the data from multi_term_arima to...

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

multiterm_spaghettiR Documentation

multiterm_spaghetti: Use the data from multi_term_arima to create a spaghetti plot

Description

multiterm_spaghetti: Use the data from multi_term_arima to create a spaghetti plot

Usage

multiterm_spaghetti(
  multiterm_list,
  interrupt = "2020-03-01",
  terms_to_use = NA,
  terms_to_exclude = NA,
  normalize = T,
  beginplot = "2020-03-01",
  endplot = "2020-04-03",
  title = NULL,
  xlab = "Date",
  lbreak = "1 week",
  xfmt = date_format("%b-%d"),
  ylab = "Query Fraction\n(Per 10 Million Searches)",
  lwd = 1,
  spaghettilwd = 0.2,
  vlinecol = "grey72",
  vlinelwd = 1,
  ylim = c(NA, NA),
  spaghettialpha = 0.25,
  colorscheme = "blue",
  hicol = NA,
  locol = NA,
  save = T,
  outfn = "./output/panE.png",
  width = 6,
  height = 3
)

Arguments

multiterm_list

# from multi_term_arima


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