powered by
Fits a forgetting curve to actual review data and compares it to the theoretical FSRS curve. Can analyze individual cards or aggregate data.
anki_fit_forgetting_curve( path = NULL, profile = NULL, cid = NULL, min_reviews = 5, max_cards = 1000 )
A list with fitted curve parameters and comparison data
Path to collection.anki2 (auto-detected if NULL)
Profile name (first profile if NULL)
Optional card ID for individual card analysis
Minimum reviews required for analysis (default 5)
Maximum cards to analyze for aggregate (default 1000)
if (FALSE) { curve <- anki_fit_forgetting_curve() plot(curve$data$days_elapsed, curve$data$observed_retention, type = "p") lines(curve$data$days_elapsed, curve$data$fitted_retention, col = "blue") }
Run the code above in your browser using DataLab