Description Usage Arguments Value
Prepare dictionaries for playerScore and playerMatches for unseen data (i.e. new players). If the database does not exist (eloDB=NA) a new database will be generated.
1 2 3 4 5 6 7 | pm_eloPrepDatabase(
eloDB = NA,
matchDB = NA,
unseenDataPlayers,
defaultScore = 1500,
defaultMatches = 0
)
|
eloDB |
a dictionary of player ELO scores, or NA to create a new one |
matchDB |
a dictionary of matches a player has played, or NA |
unseenDataPlayers |
list of players in the (as yet) unseen data |
defaultScore |
the ELO for players without experience. Default of 1500 |
defaultMatches |
the number of matches for new players. Default of 0 |
a list with two items: a dictionary for ELO scores, a dictionary for number of matches played
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.