Learn R Programming

Zelig (version 5.0-8)

reduce: Calculate the reduced dataset to be used in code{setx}

Description

#' This method is used internally

Usage

reduce(dataset, s, formula, data)

Arguments

dataset
Zelig object data, possibly split to deal with by argument
s
list of variables and their tentative setx values
formula
a simplified version of the Zelig object formula (typically with 1 on the lhs)
data
Zelig object data

Value

  • a list of with all the model variables either at their central tendancy or their setx value