predict.rating: Predict rating model

View source: R/predict.R

predict.ratingR 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, ])

sport documentation built on May 29, 2024, 7:55 a.m.