Learn R Programming

Zelig (version 4.2-1)

model.matrix.parseFormula: Construct Design Matrix from a Parsed, Zelig-style Formula

Description

This method constructs a design matrix from a Zelig-style formula. This matrix is commonly used in statistical simulation, and will likely be relevent as the relevant form of a setx object.

Usage

## S3 method for class 'parseFormula':
model.matrix(object, data = NULL,
    ...)

Arguments

object
a "parseFormula" object
data
a "data.frame"
...
ignored parameters

Value

  • a "model.matrix" specifying information relevant to a statistical model