nobs.galamm | R Documentation |
Extract the Number of Observations from a galamm Fit
## S3 method for class 'galamm'
nobs(object, ...)
object |
An object of class |
... |
Optional arguments passed on to other methods. Currently not used. |
A number
Other details of model fit:
VarCorr()
,
coef.galamm()
,
confint.galamm()
,
deviance.galamm()
,
factor_loadings.galamm()
,
family.galamm()
,
fitted.galamm()
,
fixef()
,
formula.galamm()
,
llikAIC()
,
logLik.galamm()
,
predict.galamm()
,
print.VarCorr.galamm()
,
ranef.galamm()
,
residuals.galamm()
,
response()
,
sigma.galamm()
,
vcov.galamm()
# Example model from lme4
data(sleepstudy, package = "lme4")
fm1 <- galamm(Reaction ~ Days + (Days | Subject), data = sleepstudy)
# There are 180 observations, which matches the number of rows in sleepstudy
nobs(fm1)
nrow(sleepstudy)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.