predict.rating: Predict rating model

Description Usage Arguments Value Examples

View source: R/predict.R

Description

Predict rating model

Usage

1
2
## S3 method for class 'rating'
predict(object, newdata, ...)

Arguments

object

of class rating

newdata

data.frame with data to predict

...

optional arguments

Value

probabilities of winning challenge by player over his opponent in all provided events.

Examples

1
2
3
glicko <- glicko_run(data = gpheats[1:16, ], 
                     formula = rank | id ~ player(rider))
predict(glicko, gpheats[17:20, ])

elo2zero/sport documentation built on Jan. 8, 2020, 12:19 p.m.