Learn R Programming

pequod (version 0.0-5)

summary.lmres: summary for lmres object

Description

return simple and nested summaries

Usage

"summary"(object, type = "default", ...)

Arguments

object
a lmres object
type
"default" generate a lm output, "nested" generate a hierarchical regression output
...

Value

The function summary is used to obtain a simple of nested summary of the results.

Examples

Run this code

library(car)
data(Ginzberg)
model1<-lmres(adjdep~adjsimp*adjfatal, centered=c("adjsimp", "adjfatal"),
data=Ginzberg)

summary(model1)
summary(model1, type="nested")

## The function is currently defined as
function (object, type = "default", ...) 

Run the code above in your browser using DataLab