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

View source: R/utils.R

transformerR Documentation

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


IQSS/Zelig documentation built on Dec. 11, 2023, 1:51 a.m.