Skip to contents

This function calculates the expected scores for a given game.

Usage

expected_scores(home_line, total)

Arguments

home_line

Line for the home team (-6)

total

Total for the game (212)

Value

dataframe with expected home score and away score for the game

Examples

expected_scores(home_line = -6, total = 212)
#>   home_line total home_score away_score
#> 1        -6   212        109        103
expected_scores(home_line = -2.5, total = 51)
#>   home_line total home_score away_score
#> 1      -2.5    51      26.75      24.25
expected_scores(home_line = 10.5, total = 231)
#>   home_line total home_score away_score
#> 1      10.5   231     110.25     120.75