Extracts the results from a fixest_multi
object and place them into a list.
# S3 method for fixest_multi
as.list(x, ...)
A fixest_multi
object, obtained from a fixest
estimation leading to multiple results.
Not currently used.
Returns a list containing all the results of the multiple estimations.
The main fixest estimation functions: feols
, fepois
, fenegbin
, feglm
, feNmlm
. Tools for mutliple fixest estimations: summary.fixest_multi
, print.fixest_multi
, as.list.fixest_multi
, sub-sub-.fixest_multi
, sub-.fixest_multi
, cash-.fixest_multi
.
# NOT RUN {
base = iris
names(base) = c("y", "x1", "x2", "x3", "species")
# Multiple estimation
res = feols(y ~ csw(x1, x2, x3), base, split = ~species)
# All the results at once
as.list(res)
# }
Run the code above in your browser using DataLab