predict_match: Predict match

Description Usage Arguments Value Examples

View source: R/predict.R

Description

Predict the result and margin of a match between two teams at a particular ground

Usage

1
predict_match(model, home, away, ground)

Arguments

model

afelo_model object

home

name of the home team

away

name of the away team

ground

name of the ground

Value

Probability of victory and margin for the home team

Examples

1
2
model <- aflelo_model()
predict_match(model, "Brisbane", "Western Bulldogs", "Gabba")

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