simulatePlayoffs: simulate Playoffs

View source: R/league.R

simulatePlayoffsR Documentation

simulate Playoffs

Description

Solves playoff odds by MC simulation.

Usage

simulatePlayoffs(
  summary_results = NULL,
  nsims = 1e+05,
  cores = NULL,
  params = NULL
)

Arguments

summary_results

summary results

nsims

Number of playoff sims to run. Too many takes a long time.

cores

Number of processor cores to use

params

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

Value

a data frame of each teams' odds of winning each round (First Round, Second Round, Conference Finals and Stanley Cup)


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