predict.rating {sport} | R Documentation |
Predict rating model
Description
Predict rating model
Usage
## 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
glicko <- glicko_run(
data = gpheats[1:16, ],
formula = rank | id ~ player(rider)
)
predict(glicko, gpheats[17:20, ])
[Package sport version 0.2.1 Index]