setx.booltest {boolean}R Documentation

'booltest' Method for Post-Estimation Via 'zelig'

Description

This function is an interface to the setx function in the Zelig library. It should not be called directly by the user.

Usage

## S3 method for class 'booltest'
## S3 method for class 'booltest':
setx(object, fn = list(numeric = mean, ordered = median, other = mode),
              data = NULL, cond = FALSE, counter = NULL, ...)  # good

Arguments

object An object of class 'boolprep' estimated by Zelig.
fn A list of functions; see setx for details.
data An additional dataframe containing values for the explanatory variables or NULL to use the dataframe in the call to Zelig.
cond A flag to indicate conditional prediction; see setx for details.
counter Should always be NULL.
... Additional arguments to set explanatory variables to particular values.

Value

A dataframe of explanatory variables set to the specified values; see setx for details.

Author(s)

Bear F. Braumoeller, Harvard University, braumoeller.1@polisci.osu.edu, and
Ben Goodrich, Harvard University, goodrich@fas.harvard.edu


[Package boolean version 2.0-2 Index]