Learn R Programming

elo (version 3.0.2)

fitted.elo: Extract model values

Description

Extract model values from elo functions.

Usage

# 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, ...)

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

Arguments

object

An object.

...

Other arguments

running

logical, denoting whether to use the running predicted values.