Extracts the number of observations form a fixest object
## S3 method for class 'fixest' nobs(object, ...)
It returns an interger.
Laurent Berge
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 fixed-effects coefficients, and the function etable to visualize the results of multiple estimations.
# simple estimation on iris data with "Species" fixed-effects
res = femlm(Sepal.Length ~ Sepal.Width + Petal.Length +
Petal.Width | Species, iris)
nobs(res)
logLik(res)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.