Rdocumentation
powered by
Learn R Programming
Zelig (version 4.2-1)
constructDesignMatrix: Construct Design Matrix from Construct and return a design matrix based on a tiny data-frame (single-row).
Description
Construct Design Matrix from Construct and return a design matrix based on a tiny data-frame (single-row).
Usage
constructDesignMatrix(data, formula)
Arguments
data
a ``data.frame'' (preferably single-rowed) that will be used to create a small design matrix
formula
a formula, whose predictor variables will be used to create a design matrix
Value
a design (model) matrix