Closed MatthieuStigler closed 5 years ago
Hey @MatthieuStigler, I was looking at this issue, and it seems like formula
now works as expected.
Yes, indeed! Closing the issue
library(lfe)
#> Loading required package: Matrix
packageVersion("lfe")
#> [1] '2.8.3'
example(felm, echo=FALSE)
formula(est)
#> y ~ x + x2 | id + firm
Created on 2019-09-13 by the reprex package (v0.3.0)
Hi
It seems
formula()
does not work directly on afelm
object. As x$formula is missing, it returns instead x$terms (unfortunately, returning x$call$formula seems third priority forformula.default
). Is it possible to either:formula
for felm?formula.felm
?I tried to make a pull request for the first option, but got lost in the code :-(
Created on 2018-10-12 by the reprex package (v0.2.1)
Thanks!
Matthieu