Learn R Programming

fwildclusterboot (version 0.9)

model_matrix.lm: Enhanced model.matrix for objects of type lm

Description

Enhanced model.matrix for objects of type lm

Usage

# S3 method for lm
model_matrix(object, collin.rm = TRUE, ...)

Arguments

object

An object of class lm

collin.rm

Should collinear variables be dropped?

...

Other arguments