Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

Author(s)

Christopher Gandrud


Zelig

Everyone's Statistical Software

v5.1.7
GPL (>= 3)
Authors
Christine Choirat [aut], Christopher Gandrud [aut], James Honaker [aut], Kosuke Imai [aut], Gary King [aut], Olivia Lau [aut], Robert Treacy [aut, cre], IQSS Harvard University [cph]
Initial release
2020-12-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.