Learn R Programming

ankiR (version 0.6.0)

anki_ts_plot: Plot time series with trend line

Description

Plot time series with trend line

Usage

anki_ts_plot(ts_data, y_col, title = NULL)

Value

A ggplot object

Arguments

ts_data

A tibble from any anki_ts_* function

y_col

Column name to plot on y-axis

title

Plot title

Examples

Run this code
if (FALSE) {
ts <- anki_ts_intervals()
anki_ts_plot(ts, "median_ivl", "Median Interval Over Time")
}

Run the code above in your browser using DataLab