| style.df {fixest} | R Documentation |
This function describes the style of data.frames created with the function etable.
style.df(
depvar.title = "Dependent Var.:",
fixef.title = "Fixed-Effects:",
fixef.line = "-",
fixef.prefix = "",
fixef.suffix = "",
slopes.title = "Varying Slopes:",
slopes.line = "-",
slopes.format = "__var__ (__slope__)",
stats.title = "_",
stats.line = "_",
yesNo = c("Yes", "No")
)
depvar.title |
Character scalar. Default is |
fixef.title |
Character scalar. Default is |
fixef.line |
A single character. Default is |
fixef.prefix |
Character scalar. Default is |
fixef.suffix |
Character scalar. Default is |
slopes.title |
Character scalar. Default is |
slopes.line |
Character scalar. Default is |
slopes.format |
Character scalar. Default is |
stats.title |
Character scalar. Default is |
stats.line |
Character scalar. Default is |
yesNo |
Character vector of length 1 or 2. Default is |
The title elements (depvar.title, fixef.title, slopes.title and stats.title) will be the row names of the returned data.frame. Therefore keep in mind that any two of them should not be identical (since identical row names are forbidden in data.frames).
It returns an object of class fixest_style_df.
# Multiple estimations => see details in feols
aq = airquality
est = feols(c(Ozone, Solar.R) ~
Wind + csw(Temp, Temp^2, Temp^3) | Month + Day,
data = aq)
# Default result
etable(est)
# Playing a bit with the styles
etable(est, style_df = style.df(fixef.title = "", fixef.suffix = " FE",
stats.line = " ", yesNo = "yes"))