broom.mixed v0.2.4


Monthly downloads



Tidying Methods for Mixed Models

Convert fitted objects from various R mixed-model packages into tidy data frames along the lines of the 'broom' package. The package provides three S3 generics for each model: tidy(), which summarizes a model's statistical findings such as coefficients of a regression; augment(), which adds columns to the original data such as predictions, residuals and cluster assignments; and glance(), which provides a one-row summary of model-level statistics.

Functions in broom.mixed

Name Description
.extractEffects Internal function to extract the fixed or random effects from an MCMCglmm object
ranef.MCMCglmm Extract random effects from an MCMCglmm object
paramNamesMCMCglmm Extract the parameter names from an MCMCglmm object
nlme_tidiers Tidying methods for mixed effects models
tidy.MCMCglmm Tidying methods for MCMC (Stan, JAGS, etc.) fits
tidy.TMB Tidying methods for TMB models
unrowname strip rownames from an object
brms_tidiers Tidying methods for a brms model
stdranef Extract standard deviation of "random" effects from an MCMCglmm object
ranefLevels Extract the levels of factors used for random effects in MCMCglmm objects
reexports Objects exported from other packages
insert_NAs insert a row of NAs into a data frame wherever another data frame has NAs
augment.ranef.mer Augmentation for random effects (for caterpillar plots etc.)
lme4_tidiers Tidying methods for mixed effects models
rstanarm_tidiers Tidying methods for an rstanarm model
compact Remove NULL items in a vector or list
glmmTMB_tidiers Tidying methods for glmmTMB models
glmmadmb_tidiers Tidying methods for glmmADMB models
fixef.MCMCglmm Extract fixed effects from an MCMCglmm object
gamlss_tidiers Tidying methods for gamlss objects
No Results!

Vignettes of broom.mixed

No Results!

Last month downloads


Type Package
License GPL-3
RoxygenNote 6.1.1
Encoding UTF-8
VignetteBuilder knitr
NeedsCompilation no
Packaged 2019-02-21 17:03:53 UTC; bolker
Repository CRAN
Date/Publication 2019-02-21 23:50:03 UTC

Include our badge in your README