Learn R Programming

ankiR (version 0.6.0)

anki_compare_forecasts: Compare Forecast Methods

Description

Run multiple forecasting methods and compare their predictions.

Usage

anki_compare_forecasts(
  path = NULL,
  profile = NULL,
  days_ahead = 30,
  methods = c("holt", "arima", "seasonal", "monte_carlo")
)

Value

A list with comparison results

Arguments

path

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

profile

Profile name (first profile if NULL)

days_ahead

Number of days to forecast (default 30)

methods

Methods to compare (default: all available)

Examples

Run this code
if (FALSE) {
comp <- anki_compare_forecasts(days_ahead = 14)
comp$summary
}

Run the code above in your browser using DataLab