| constructDesignMatrix {Zelig} | R Documentation |
Construct Design Matrix from Construct and return a design matrix based on a tiny data-frame (single-row).
constructDesignMatrix(data, formula)
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 |
a design (model) matrix