Returns the residual degrees of freedom for a fitted fixest object
# S3 method for class 'fixest'
df.residual(object, ...)It returns an integer scalar giving the residuals degrees of freedom of the estimation.
The function degrees_freedom in fixest.
est = feols(mpg ~ hp, mtcars)
df.residual(est)
#> [1] 30