transformer: Conduct variable transformations called inside a 'zelig' call

Description Usage Arguments Author(s)

View source: R/utils.R

Description

Conduct variable transformations called inside a zelig call

Usage

1
transformer(formula, data, FUN = "log", check, f_out, d_out)

Arguments

formula

model formulae

data

data frame used in formula

FUN

character string of the transformation function. Currently supports factor and log.

check

logical whether to just check if a formula contains an internally called transformation and return TRUE or FALSE

f_out

logical whether to return the converted formula

d_out

logical whether to return the converted data frame. Note: f_out must be missing

Author(s)

Christopher Gandrud


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