GetPlayers: create a list of players from a list of teams

Description Usage Arguments Examples

Description

create a list of players from a list of teams

Usage

1
  GetPlayers(teams)

Arguments

teams

a list of teams

Examples

1
2
3
4
5
6
  Alice <- Player("Alice", Gaussian(25, 8))
  Bob <- Player("Bob", Gaussian(30, 7))
  Team1 <- Team("Team1", rank = 1, list(Alice))
  Team2 <- Team("Team1", rank = 2, list(Bob))
  teams <- list(Team1, Team2)
  players <- GetPlayers(teams)

bhoung/trueskill-in-r documentation built on May 12, 2019, 8:29 p.m.