modelErrors: Returns model errors (residuals) from lm object

Description Usage Arguments Value Author(s) See Also Examples

View source: R/modelErrors.R

Description

Simple wrapper to return model errors using residuals() function. Implemented simply to match terminology to 610/710 GLM course. Also prints(but does not return) model SSE

Usage

1
modelErrors(Model)

Arguments

Model

an lm model obect

Value

Returns vector of model errors (residuals) from sample

Author(s)

John J. Curtin jjcurtin@wisc.edu

See Also

residuals, lm

Examples

1
2
m = lm(interlocks~assets+nation, data=Ornstein)
modelErrors(m)

lmSupport documentation built on May 29, 2017, 11:06 a.m.

Search within the lmSupport package
Search all R packages, documentation and source code