Learn R Programming

Zelig (version 5.1.7)

transformer: Conduct variable transformations called inside a zelig call

Description

Conduct variable transformations called inside a zelig call

Usage

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