massey_adv: Compute the offensive, defensive, and total ratings for each...

Description Usage Arguments Value

View source: R/massey.R

Description

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.

Usage

1
massey_adv(massey_mtx, points_for, points_against)

Arguments

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

Value

massey_adv returns a vector containing the offensive, defensive, and total Massey ratings for each team.


shinault/rater documentation built on May 23, 2019, 7:35 a.m.