Learn R Programming

boolean3 (version 3.1.6)

model.matrix.boolean: Model Matrix from boolean object

Description

Extract model matrix from boolean model.

Usage

"model.matrix"(object, ...)

Arguments

object
A boolean object.
...
Arguments to pass on.

Value

An n-by-k model matrix.

Details

This function extracts the model matrix from the specified boolean model. Note that this model wouldn't always be appropriate for estimating a model since multiple intercepts are included, making the columns of the matrix perfectly collinear.