Description Usage Arguments Examples
This function pseudo R2 (Nagelkerke and Cox & Snell) for mixed-effects binomial logistic regression models.
1 | pseudor2(f, d)
|
f |
A vector of two character strings (e.g. c("dv ~ a + b", "(1 + a | Subject)")). The first element is the fixed-effect part of the regression formula (e.g. "DP ~ Predictor1 + Predictor1") and the second part is the random effect structure (e.g. "(1 | Subject)"). |
d |
The data set on which the model was fit |
1 2 3 4 5 | ## Not run:
#model.glmermodel = glmer(depvar ~ indepvar + (1|ranvar), data = data, family = "binomial")
#pseudor2(c("depvar ~ indepvar", "(1|ranvar)"), data)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.