nobs.femlm | R Documentation |
This function simply extracts the number of obsrvations used to estimate a femlm
model.
## S3 method for class 'femlm'
nobs(object, ...)
object |
An object of class |
... |
Not currently used. |
It returns an interger.
Laurent Berge
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.
# simple estimation on iris data, clustering by "Species"
res = femlm(Sepal.Length ~ Sepal.Width + Petal.Length +
Petal.Width | Species, iris)
nobs(res)
logLik(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.