clean_binned_results: Clean binned results from felm (and maybe lm?). Will try to...

Description Usage Arguments Value

View source: R/clean_binned_results.R

Description

Clean binned results from felm (and maybe lm?). Will try to guess at omitted variable from variable names created using cut().

Usage

1
2
clean_binned_results(felm.est = NULL, felm.dt = NULL,
  keepvars = NULL)

Arguments

felm.est

felm output from regression with binned variables, can be stripped with strip_felm. Required if felm.dt not supplied.

felm.dt

data.table of output from regression with binned variables. Required if felm.est not supplied.

keepvars

(Optional) regex of variables to keep.

Value

Ordered data.table with coef, se, ci.l, ci.h, xmin, xmax, xmid. Will include a row for the (guessed at) omitted variable with coef and se = 0.


pbaylis/baylisR documentation built on Nov. 8, 2019, 6:20 p.m.