| setx.default {Zelig} | R Documentation |
Set explanatory variables
## Default S3 method:
setx(obj, fn=NULL, data=NULL,
cond=FALSE, ...)
obj |
a 'zelig' object |
fn |
a list of key-value pairs specifying which function apply to columns of the keys data-types |
data |
a data.frame |
cond |
ignored |
... |
parameters specifying what to explicitly set each column as. This is used to produce counterfactuals |
a 'setx' object
Matt Owen mowen@iq.harvard.edu, Kosuke Imai, and Olivia Lau