setx.default {Zelig}R Documentation

Set explanatory variables

Description

Set explanatory variables

Usage

  ## Default S3 method:
setx(obj, fn=NULL, data=NULL,
    cond=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

...

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


[Package Zelig version 4.2-1 Index]