knitr::opts_chunk$set(echo = TRUE)
library(TSwatch)
library(tsibble)
library(tsibbledata)
library(dplyr)
library(fpp2)

Introduction

Since graphical unit testing is not very convenient, I'm using this notebook as an informal testing suite.

We'll mostly use 3 datasets: - a10 in fpp2 - pedestrian in tsibble - hh_budget in tsibble data

Time series plot

timeseries_plot(convert_ts(a10))
timeseries_plot(pedestrian)
timeseries_plot(hh_budget)

Versus Plot

versus_plot(convert_ts(a10), 'value')
versus_plot(pedestrian, 'Time')
versus_plot(hh_budget, 'Unemployment')


EBlonkowski/TSwatch documentation built on June 2, 2020, 1:51 p.m.