model.matrix.parseFormula {Zelig}R Documentation

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

Note

This method is primarily used by the setx function.

Author(s)

Matt Owen mowen@iq.harvard.edu


[Package Zelig version 4.2-1 Index]