simulateSeasonParallel: Simulate the remainder of the season

View source: R/league.R

simulateSeasonParallelR Documentation

Simulate the remainder of the season

Description

Simulate the remainder of the season

Usage

simulateSeasonParallel(
  scores = HockeyModel::scores,
  nsims = 10000,
  schedule = HockeyModel::schedule,
  cores = NULL,
  progress = FALSE,
  params = NULL
)

Arguments

scores

Past (historical) season scores. Defaults to HockeyModel::Scores

nsims

number of simulations to run

schedule

Future unplayed games. Defaults to HockeyModel::schedule

cores

number of cores to use in parallel.

progress

whether to show a progress bar.

params

The named list containing m, rho, beta, eta, and k. See updateDC for information on the params list

Value

a data frame of results


pbulsink/HockeyModel documentation built on Dec. 16, 2024, 8:03 a.m.