Learn R Programming

Zelig (version 4.1-1)

as.matrix.pooled.setx: Convert a ``pooled.setx'' Object to a Matrix

Description

The setx object is, in its most basic form, a list of column names and values specified for each of these column names. This function simply converts the key-value pairs of column-name and specified value into a matrix.

Usage

## S3 method for class 'pooled.setx':
as.matrix(x, ...)

Arguments

x
a setx object
...
ignored parameters

Value

  • a matrix containing columns and rows corrseponding to the explanatory variables specified in the call to the 'setx' function