Description Usage Arguments Value Further details Examples
View source: R/colley_spread.R
Performs Colley Matrix Ranking Algorithm adapting for spread
1 | colley_spread(df, spreadval = NULL, adjval = NULL)
|
df |
A winner-loser dataframe There should be four or five columns. The first two are each competitor in a competition. The third columns are the points or goals scored by individual in the first columns. The fourth column are the points/goals scored by the individual in the second column. The optional fifth column is the points/goals differential. |
spreadval |
The points differential above which to adjust win values |
adjval |
The constant value to adjust wins by if they are above |
A vector of ratings
All loss and ties are considered to be worth 0 wins
1 2 | colley_spread(div3_2012_spread, spreadval=3, adjval=1.5)
colley_spread(ivyfootball, 10, 1.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.