Learn R Programming

ankiR (version 0.6.0)

anki_plot_retention: Plot retention over time

Description

Shows how retention rate has changed over time.

Usage

anki_plot_retention(path = NULL, profile = NULL, days = 90, window = 7)

Value

A ggplot2 object

Arguments

path

Path to collection.anki2 (auto-detected if NULL)

profile

Profile name (first profile if NULL)

days

Number of days to include (default 90)

window

Rolling window size in days for smoothing (default 7)

Examples

Run this code
if (FALSE) {
anki_plot_retention()
anki_plot_retention(days = 365, window = 14)
}

Run the code above in your browser using DataLab