Description Usage Arguments Value Examples
Convert a predicted result to a predicted margin
1 | predict_margin(model, pred_result)
|
model |
aflelo_model object |
pred_result |
probablilty of home win |
Margin for the home team
1 2 3 4 | model <- aflelo_model()
pred_result <- aflelo:::predict_result(model, "Brisbane", "Western Bulldogs",
"Gabba")
aflelo:::predict_margin(model, pred_result)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.