fitted.jglmm | R Documentation |
Extract the fitted values from a 'jglmm' object.
## S3 method for class 'jglmm' fitted(object, ...)
object |
An object of class 'jglmm', as returned by 'jglmm()'. |
... |
Optional additional arguments, currently none are used. |
Vector of fitted values extracted from the model.
## Not run: jglmm_setup() cbpp <- dplyr::mutate(lme4::cbpp, prop = incidence / size) gm <- jglmm(prop ~ period + (1 | herd), data = cbpp, family = "binomial", weights = cbpp$size) fitted(gm) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.