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
3
##NOT RUN
##m = lm(interlocks~assets+nation, data=Ornstein)
##modelErrors(m)

lmSupport documentation built on Sept. 1, 2017, 1:03 a.m.