train_model: Traing AFLELO Model

Description Usage Arguments Value Examples

View source: R/train.R

Description

Train an AFLELO Model

Usage

1

Arguments

model

aflelo_model object

matches

data.frame containg matche results to train using, see matches for an example

Value

aflelo_model with ratings history based on the provided matches

Examples

1
2
3
4
data("matches")
matches1997 <- matches[matches$Season == 1997, ]
model <- aflelo_model()
train_model(model, matches1997)

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