predict_result: Predict result

Description Usage Arguments Value Examples

View source: R/predict.R

Description

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

Usage

1
predict_result(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 for the home team

Examples

1
2
model <- aflelo_model()
aflelo:::predict_result(model, "Brisbane", "Western Bulldogs", "Gabba")

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