Learn R Programming

ankiR (version 0.6.0)

anki_forecast_enhanced: Enhanced Time Series Forecasting

Description

Improved forecasting with ARIMA, seasonal patterns, and workload ceilings.

Usage

anki_forecast_enhanced(
  path = NULL,
  profile = NULL,
  metric = "reviews",
  days_ahead = 30,
  method = "auto",
  confidence = 0.95,
  workload_ceiling = NULL
)

Value

A tibble with forecast results

Arguments

path

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

profile

Profile name (first profile if NULL)

metric

Metric to forecast: "reviews", "time", "retention", "cards_learned"

days_ahead

Number of days to forecast (default 30)

method

Forecasting method: "auto", "arima", "ets", "holt", "seasonal"

confidence

Confidence level for prediction intervals (default 0.95)

workload_ceiling

Maximum daily workload (NULL for none)

Examples

Run this code
if (FALSE) {
fc <- anki_forecast_enhanced("reviews", days_ahead = 30)
plot(fc$date, fc$forecast, type = "l")
}

Run the code above in your browser using DataLab