| family.galamm | R Documentation |
This function returns a list of families for an object of class
galamm, returned from galamm.
## S3 method for class 'galamm'
family(object, ...)
object |
An object of class |
... |
Optional arguments passed on to other methods. Currently not used. |
A list of family objects.
galamm()
Other details of model fit:
VarCorr(),
appraise.galamm(),
coef.galamm(),
confint.galamm(),
derivatives.galamm(),
deviance.galamm(),
factor_loadings.galamm(),
fitted.galamm(),
fixef(),
formula.galamm(),
llikAIC(),
logLik.galamm(),
model.frame.galamm(),
nobs.galamm(),
predict.galamm(),
print.VarCorr.galamm(),
ranef.galamm(),
residuals.galamm(),
response(),
sigma.galamm(),
vcov.galamm()
# Mixed response model
loading_matrix <- matrix(c(1, NA), ncol = 1)
families <- gfam(list(gaussian, binomial))
mixed_resp <- galamm(
formula = y ~ x + (0 + level | id),
data = mresp,
family = families,
load_var = "itemgroup",
lambda = loading_matrix,
factor = "level"
)
# This model has two family objects
family(mixed_resp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.