nobs.femlm {FENmlm} | R Documentation |
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 class 'femlm'
nobs(object, ...)
Arguments
object |
An object of class |
... |
Not currently used. |
Value
It returns an interger.
Author(s)
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
# simple estimation on iris data, clustering by "Species"
res = femlm(Sepal.Length ~ Sepal.Width + Petal.Length +
Petal.Width | Species, iris)
nobs(res)
logLik(res)
[Package FENmlm version 2.4.4 Index]