calc_hga: Calculate Home Ground Advantage

Description Usage Arguments Value Examples

View source: R/predict.R

Description

Calculate the Home Ground Advantage between two teams playing at a particular ground

Usage

1
calc_hga(model, home, away, ground)

Arguments

model

aflelo_model object

home

name of the home team

away

name of the away team

ground

name of the ground

Value

Value giving the advantage of the home team in ratings points

Examples

1
2
model <- aflelo_model()
aflelo:::calc_hga(model, "West Coast", "Collingwood", "Subiaco")

lazappi/aflelo documentation built on May 17, 2019, 7:30 p.m.