Learn R Programming

sport (version 0.1.0)

predict.rating: Predict rating model

Description

Predict rating model

Usage

# S3 method for rating
predict(object, newdata, ...)

Arguments

object

of class rating

newdata

data.frame with data to predict

...

optional arguments

Value

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

Examples

Run this code
# NOT RUN {
glicko <- glicko_run(rank|id~rider, gpheats[1:16,])
predict(glicko,gpheats[17:20,])
# }

Run the code above in your browser using DataLab