Function buildGLMMF
builds GLMM with latent factors using methods based on state space modelling.
1 2 3 4 | buildGLMMF(group, response, common.fixed, distinct.fixed, random,
nfactors = 0, data, distribution = c("gaussian", "poisson", "binomial",
"gamma", "negative binomial"), u, random.cov, factors,
tol = .Machine$double.eps^0.5)
|
group |
Name of the grouping variable in data. Only one grouping variable is allowed and the group sizes must be equal. In case of unequal group sizes, patch missing rows with NA's. |
response |
Name of the response variable in data. |
common.fixed |
formula for common fixed effects. LHS of the formula is ignored if present. |
distinct.fixed |
Formula for distinct fixed effects i.e. each group has separate regression
coefficient. This formula cannot contain variables which are already present in
|
random |
Formula for random effects. LHS of the formula is ignored if present. |
data |
Data frame containing the variables in the model. Must contain all variables used formulas and
variables defined in |
distribution |
Character. Possible values are "gaussian", "poisson", "binomial", "negative binomial" and "gamma". Default is "gaussian". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.