ts_graph: Graph time series

Description Usage Arguments Value Examples

View source: R/ts_graph.R

Description

Create an interactive graph of a time series tibble.

Usage

1
ts_graph(ts_df)

Arguments

ts_df

A tibble containing dates in column labeled 'ds' and values in column labeled 'y'. If forecast is contained, the point forecast should be in a column labeled 'yhat', and respective prediction intervals should be in columns labeled 'yhat_lower' and 'yhat_upper'.

Value

An interactive graph.

Examples

1
2
df <- tidyr::tibble(ds = lubridate::today() - 100:1, y = rnorm(100))
ts_graph(df)

travisandersen14/tsfuncs documentation built on May 23, 2020, 12:38 a.m.