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 19, 2017, 10:44 p.m.

Search within the boolean3 package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.