Learn R Programming

ankiR (version 0.6.0)

anki_cohort_analysis: Cohort Analysis (Vintage Analysis)

Description

Compare card performance by when they were added. Cards added in the same period form a "cohort" and their learning outcomes are compared.

Usage

anki_cohort_analysis(
  path = NULL,
  profile = NULL,
  cohort_size = "month",
  min_cards = 20
)

Value

A tibble with cohort statistics

Arguments

path

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

profile

Profile name (first profile if NULL)

cohort_size

Size of each cohort: "week", "month", "quarter" (default "month")

min_cards

Minimum cards per cohort to include (default 20)

Examples

Run this code
if (FALSE) {
cohorts <- anki_cohort_analysis()
cohorts
}

Run the code above in your browser using DataLab