residuals.gremlin {gremlin}R Documentation

Residuals of class ‘gremlin’

Description

Residuals of class ‘gremlin’.

Usage

## S3 method for class 'gremlin'
residuals(object, type = "response", scaled = FALSE, ...)

Arguments

object

An object of class ‘gremlin’.

type

The type of residuals which should be returned. Only implement “response” currently. Can be abbreviated.

scaled

Logical value indicating whether to scale residuals by the residual standard deviation.

...

Additional arguments.

Value

A numeric vector of residuals.

Author(s)

matthewwolak@gmail.com

Examples

grS <- gremlin(WWG11 ~ sex - 1, random = ~ sire, data = Mrode11)
residuals(grS)

[Package gremlin version 1.0.1 Index]