PrintList: pretty print a list of players

Description Usage Arguments Examples

View source: R/player.r

Description

pretty print a list of players (trivial function...)

Usage

1

Arguments

list

a list of player objects

Examples

1
2
3
4
  Alice <- Player(1, Gaussian(25, 8), "Alice")
  Bob <- Player(2, Gaussian(30, 7), "Bob")
  players <- list(Alice, Bob)
  PrintList(players)

Example output

[1] "[rank, skill, player]: [1, [(25, 8), (0.016, 0.391)], Alice]"
[1] "[rank, skill, player]: [2, [(30, 7), (0.02, 0.612)], Bob]"

trueskill documentation built on May 2, 2019, 5:15 a.m.