Open etiennebacher opened 1 year ago
Doubling down on this. It would be great if this could be implemented.
As a hotfix, registering an extralines function that simply returns the text works.
rm(list=ls())
# We register a function including our text.
my_fun2 = function(z){"Return this text in column."}
extralines_register("hotfix", my_fun2, "")
# An estimation
data(iris)
est = feols(Petal.Length ~ Sepal.Length | Species, iris)
# We can change the alias on the fly:
etable(est, extralines = list("_This text" = ~ hotfix))
est
Dependent Var.: Petal.Length
Sepal.Length 0.6321* (0.1232)
Fixed-Effects: ----------------
Species Yes
_______________ ________________
S.E.: Clustered by: Species
Observations 150
R2 0.97489
Within R2 0.57178
This text Return this text in column.
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Argument
extralines
inetable()
doesn't seem to work when there's only one model: