setx.default: Set explanatory variables

Description Usage Arguments Value Author(s)

Description

Set explanatory variables

Usage

1
2
3
  ## Default S3 method:
setx(obj, fn=NULL, data=NULL,
    cond=FALSE, withdata=FALSE, ...)

Arguments

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

withdata

If TRUE, then expressions for setting variables will be evaluated in a new environment created with the dataset of the passed saved output from zelig

...

parameters specifying what to explicitly set each column as. This is used to produce counterfactuals

Value

a 'setx' object

Author(s)

Matt Owen mowen@iq.harvard.edu, Kosuke Imai, and Olivia Lau


IQSS/Zelig4 documentation built on May 9, 2019, 9:13 a.m.