Learn R Programming

Zelig (version 4.2-1)

model.matrix.multiple: Create Design Matrix of a multiple Object

Description

This method is used to generate a model.matrix adhering to the specifications in the help document "model.matrix".

Usage

## S3 method for class 'multiple':
model.matrix(object,data,shape="compact",eqn=NULL,...)

Arguments

object
an object of type multiple. This represents a Zelig 3.5 formula
data
a data.frame
shape
a character-string specifying the shape of the matrix
eqn
an integer specifying the number of equations
...
ignored parameters