reduce: Calculate the reduced dataset to be used in 'setx'

Description Usage Arguments Value Author(s)

View source: R/utils.R

Description

#' This method is used internally

Usage

1
reduce(dataset, s, formula, data, avg = avg)

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

avg

function of data transformations

Value

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

Author(s)

Christine Choirat and Christopher Gandrud


Zelig documentation built on Jan. 8, 2021, 2:26 a.m.