R: Extract the terms

terms.fixest {fixest} | R Documentation

## Extract the terms

### Description

This function extracts the terms of a `fixest` estimation, excluding the fixed-effects part.

### Usage

    ## S3 method for class 'fixest'
    terms(x, ...)

### Arguments

`x` | A `fixest` object. Obtained using the functions `femlm`, `feols` or `feglm`.
`...` | Not currently used.

### Value

An object of class `c("terms", "formula")` which contains the terms representation of a symbolic model.

### Examples

    # simple estimation on iris data, using "Species" fixed-effects
    res = feols(Sepal.Length ~ Sepal.Width*Petal.Length +
                Petal.Width | Species, iris)

    # Terms of the linear part
    terms(res)

[Package fixest version 0.10.1 Index]