Learn R Programming

fixest (version 0.5.1)

terms.fixest: Extract the terms

Description

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

Usage

# S3 method for 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

Run this code
# NOT RUN {
# 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)


# }

Run the code above in your browser using DataLab