Learn R Programming

fixest (version 0.5.1)

setFixest_print.type: Sets/gets what print does to fixest estimations

Description

Sets/gets the default behavior of the print method for non-summary fixest estimations. Default is to display the coefficients table but it can be changed to displaying only the coefficients.

Usage

setFixest_print.type(x)

getFixest_print.type

Arguments

x

Either "table" or "coef".

Format

An object of class function of length 1.

Examples

Run this code
# NOT RUN {
res = feols(Sepal.Length ~ Sepal.Width + Petal.Length, iris)
# default is coef. table:
res
# can be changed to only the coefficients:
print(res, type = "coef")
setFixest_print.type("coef")
res # only the coefs

# back to default
setFixest_print.type("table")

# }

Run the code above in your browser using DataLab