get_fml_parts {fwlplot} | R Documentation |
Split formula into terms
Description
Split formula into terms
Usage
get_fml_parts(formula, parts_as_formula = FALSE)
Arguments
formula |
Full formula following |
parts_as_formula |
Logical. If |
Value
List of expressions/formula for each part of the formula. It will be of type symbol
/language
unless parts_as_formula = TRUE
. Can be used with
fixest::xpd
and the dot bracket syntax to create formula. Any missing
elements will be given a value of NULL
. The list contains the following:
y_fml |
The LHS |
W_lin |
The linear part of the exogenous variables |
W_FE |
The fixed effects part of the exogenous variables |
T_fml |
The endogenous variable |
Z_lin |
The linear part of the instruments |
Z_FE |
The fixed effects part of the instruments |
[Package fwlplot version 0.3.0 Index]