bradley.terry: Fit a Bradley-Terry model on game score data

Description Usage Arguments Value Author(s) Examples

View source: R/bradley.terry.R

Description

Fit a Bradley-Terry model on game score data

Usage

1

Arguments

games

data.frame with the following columns: game.id, home.id, away.id, home.score, away.score, neutral, ot (matched by output of scrape.game.results)

Value

matrix of win probabilities, with rows and columns labeled by team. Each entry gives the probability of the team corresponding to that row beating the team corresponding to that column.

Author(s)

sspowers

Examples

1
  prob = bradley.terry(games = games.men.2017)

Example output



mRchmadness documentation built on May 30, 2017, 6:49 a.m.