model.matrix.boolean: Model Matrix from boolean object

Description Usage Arguments Details Value Author(s)

View source: R/utils.R

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)


boolean3 documentation built on May 30, 2017, 12:30 a.m.