fitted.elo {elo}R Documentation

Extract model values

Description

Extract model values from elo functions.

Usage

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

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

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

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

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

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

## S3 method for class '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


[Package elo version 3.0.2 Index]