convert_margin: Convert margin

Description Usage Arguments Value Examples

View source: R/predict.R

Description

Convert a real margin to a result probabilty

Usage

1
convert_margin(model, margin)

Arguments

model

aflelo_model object

margin

real margin for the home team

Value

Probability of the home team winning

Examples

1
2
model <- aflelo_model()
aflelo:::convert_margin(model, 30)

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