print.fixest {fixest} | R Documentation

## A print facility for `fixest` objects.

### Description

This function is very similar to usual `summary` functions as it provides the table of coefficients along with other information on the fit of the estimation. The type of output is customizable by the user (using function `setFixest_print.type`).

### Usage

    ## S3 method for class 'fixest'
    print(x, n, type = getFixest_print.type(), ...)

### Arguments

`x` | A `fixest` object. Obtained using the methods `femlm`, `feols` or `feglm`.
`n` | Integer, number of coefficients to display. By default, only the first 8 coefficients are displayed if `x` does not come from `summary.fixest`.
`type` | Either `"table"` (default) to display the coefficients table or `"coef"` to display only the coefficients. By default the value is `getFixest_print.type()` which can be permanently set with `setFixest_print.type`).
`...` | Other arguments to be passed to `vcov.fixest`.

### Author(s)

Laurent Berge

### See Also

See also the main estimation functions `femlm`, `feols` or `feglm`. Use `summary.fixest` to see the results with the appropriate standard-errors, `fixef.fixest` to extract the cluster coefficients, and the functions `esttable` and `esttex` to visualize the results of multiple estimations.

### Examples

    # Load trade data
    data(trade)

    # We estimate the effect of distance on trade
    #   => we account for 3 fixed-effects (FEs)
    est_pois = femlm(Euros ~ log(dist_km)|Origin+Destination+Product, trade)

    # displaying the results
    #  (by default SEs are clustered if FEs are used)
    print(est_pois)

    # By default the coefficient table is displayed.
    #  If the user wished to display only the coefficents, use option type:
    print(est_pois, type = "coef")

    # To permanently display coef. only, use setFixest_print.type:
    setFixest_print.type("coef")
    est_pois
    # back to default:
    setFixest_print.type("table")

[Package fixest version 0.1.0 Index]