Learn R Programming

bigstep (version 1.0.2)

summary.big: Summarizing model fit

Description

codesummary method for class big.

Usage

# S3 method for big
summary(object, ...)

Arguments

object

an object of class big.

...

Further arguments to be passed to or from other methods. They are ignored in this function.

Value

An object of class summary.lm or summary.glm.

Examples

Run this code
# NOT RUN {
set.seed(1)
n <- 30
p <- 10
X <- matrix(rnorm(n * p), ncol = p)
y <- X[, 2] + 2*X[, 3] - X[, 6] + rnorm(n)
d <- prepare_data(y, X)
m <- stepwise(d)
summary(m)
# }

Run the code above in your browser using DataLab