# NOT RUN {
base = iris
names(base) = c("y", "x1", "x2", "x3", "species")
# A multiple estimation
est = feols(y ~ x1 + csw0(x2, x3), base)
# Getting all the coefficients at once,
# each row is a model
coef(est)
# Example of keep/drop/order
coef(est, keep = "Int|x1", order = "x1")
# To change the order of the model, use fixest_multi
# extraction tools:
coef(est[rhs = .N:1])
# }
Run the code above in your browser using DataLab