Model Matrix from boolean object

Share:

Description

Extract model matrix from boolean model.

Usage

1
2
## S3 method for class 'boolean'
model.matrix(object, ...)

Arguments

object

A boolean object.

...

Arguments to pass on.

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.

Value

An n-by-k model matrix.

Author(s)

Jason W. Morgan (morgan.746@osu.edu)