Learn R Programming

lmSupport (version 2.9.13)

modelSummary: summary of results for lm model

Description

This is a modified version of summary for use with an lm, glm, or lmer object. It provides results that align better with Brauer/Curtin perspective on these linear models from their graduate statistics series

Usage

modelSummary(Model, t = TRUE, Print= TRUE, Digits = 4)

Arguments

Model

a linear model, produced by lm.

t

Indicates if t-statistics (TRUE; Default) or F-statistics should be reported for tests of parameter estimates

Print

Print output to screen. Default is TRUE

Digits

Number of digits for values in coefficients table. Default = 4

Value

Returns a list with results for model.

Details

Reports model summary results from an lm object. Results include parameter estimates and their tests, SSE, model R2

See Also

summary, modelR2

Examples

Run this code
# NOT RUN {
##NOT RUN
##m = lm(FPS~BAC+TA, data=BAC)
##modelSummary(m)
# }

Run the code above in your browser using DataLab