modelErrors: Returns model errors (residuals) from lm object

Description Usage Arguments Value Author(s) See Also Examples

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)


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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.