Extract model values from elo functions.

# S3 method for elo.run
fitted(object, ...)

# S3 method for elo.run
residuals(object, ...)

# S3 method for elo.running
fitted(object, running = TRUE, ...)

# S3 method for elo.glm
fitted(object, ...)

# S3 method for elo.markovchain
fitted(object, ...)

# S3 method for elo.winpct
fitted(object, ...)

# S3 method for elo.colley
fitted(object, ...)

Arguments

object

An object.

...

Other arguments

running

logical, denoting whether to use the running predicted values.

Value

A vector of fitted values. For running values, it has an additional attribute denoting to which group (i.e., which model) the prediction belongs