Learn R Programming

FENmlm (version 2.4.4)

nobs.femlm: Extract the number of observations form a femlm object

Description

This function simply extracts the number of obsrvations used to estimate a femlm model.

Usage

# S3 method for femlm
nobs(object, ...)

Value

It returns an interger.

Arguments

object

An object of class femlm. Typically the result of a femlm estimation.

...

Not currently used.

Author

Laurent Berge

See Also

See also the main estimation functions femlm. Use summary.femlm to see the results with the appropriate standard-errors, getFE to extract the cluster coefficients, and the functions res2table and res2tex to visualize the results of multiple estimations.

Examples

Run this code

# simple estimation on iris data, clustering by "Species"
res = femlm(Sepal.Length ~ Sepal.Width + Petal.Length +
            Petal.Width | Species, iris)

nobs(res)
logLik(res)


Run the code above in your browser using DataLab