Skip to content

Commit

Permalink
Fix bug demeaned variables not returned
Browse files Browse the repository at this point in the history
Fixes #94
  • Loading branch information
lrberge committed Feb 9, 2021
1 parent a1053d7 commit 678196f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/ESTIMATION_FUNS.R
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,8 @@ feols = function(fml, data, weights, offset, subset, split, fsplit, cluster, se,

mem.clean = get("mem.clean", env)

demeaned = get("demeaned", env)

verbose = get("verbose", env)
if(verbose >= 2) gt("Setup")
}
Expand Down
1 change: 1 addition & 0 deletions R/fixest_env.R
Original file line number Diff line number Diff line change
Expand Up @@ -2156,6 +2156,7 @@ fixest_env = function(fml, data, family=c("poisson", "negbin", "logit", "gaussia
assign("warn", warn, env)
assign("mem.clean", mem.clean, env)
assign("nthreads", nthreads, env)
assign("demeaned", demeaned, env)

# Summary
assign("do_summary", do_summary, env)
Expand Down

0 comments on commit 678196f

Please sign in to comment.