Learn R Programming

sport (version 0.1.0)

summary.rating: Summarizing rating objects

Description

Summarizing rating objects Summary for object of class `rating`

Usage

# S3 method for rating
summary(object, ...)

Arguments

object

of class rating

...

optional arguments

Value

List with following elements

  • formula modelled formula.

  • method type of algorithm used.

  • Overall Accuracy named vector containing players ratings.

  • r data.frame summarized players ratings and model winning probabilities. Probabilities are returned only in models with one variable (ratings)

    • name of a player

    • r players ratings

    • rd players ratings deviation

    • `Model probability` mean predicted probability of winning the challange by the player.

    • `True probability` mean observed probability of winninh the challange by the player.

    • `Accuracy` Accuracy of prediction.

    • `pairings` number of pairwise occurences.

Examples

Run this code
# NOT RUN {
model <- glicko_run(rank|id~rider, gpheats[1:100,]) 
summary(model)
# }

Run the code above in your browser using DataLab