R: Transforms a fixest_multi object into a list

as.list.fixest_multi {fixest} | R Documentation

## Transforms a fixest_multi object into a list

### Description

Extracts the results from a `fixest_multi` object and place them into a list.

### Usage

    ## S3 method for class 'fixest_multi'
    as.list(x, ...)

### Arguments

`x` | A `fixest_multi` object, obtained from a `fixest` estimation leading to multiple results.
`...` | Not currently used.

### Value

Returns a list containing all the results of the multiple estimations.

### See Also

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`.

### Examples

    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)

[Package fixest version 0.10.1 Index]