Description Usage Arguments Value
This function computes the Massey offensive and defensive ratings for each team. The total rating, which is just the sum of the offensive and defensive rating, is also included.
1 | massey_adv(massey_mtx, points_for, points_against)
|
massey_mtx |
a matrix containing the data on number of games played by each team, against other teams |
points_for |
a vector containing the points scored by each team in the games played |
points_against |
a vector containing the points scored against each team in the games played |
massey_adv
returns a vector containing the offensive,
defensive, and total Massey ratings for each team.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.