Learn R Programming

⚠️There's a newer version (0.2.9.6) of this package.Take me there.

broom.mixed (version 0.2.9.5)

Tidying Methods for Mixed Models

Description

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.

Copy Link

Version

Install

install.packages('broom.mixed')

Monthly Downloads

32,793

Version

0.2.9.5

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Ben Bolker

Last Published

April 1st, 2024

Functions in broom.mixed (0.2.9.5)

gamlss_tidiers

Tidying methods for gamlss objects
get_methods

Retrieve all method/class combinations currently provided by the broom.mixed package
brms_tidiers

Tidying methods for a brms model
compact

Remove NULL items in a vector or list
insert_NAs

insert a row of NAs into a data frame wherever another data frame has NAs
lme4_tidiers

Tidying methods for mixed effects models
unrowname

strip rownames from an object
tidy.MCMCglmm

Tidying methods for MCMC (Stan, JAGS, etc.) fits
.extractEffects

Internal function to extract the fixed or random effects from an MCMCglmm object
fixef.MCMCglmm

Extract fixed effects from an MCMCglmm object
assert_dependency

check if a package is available and return informative message otherwise
nlme_tidiers

Tidying methods for mixed effects models
mediation_tidiers

Tidying methods for mediation analyses involving mixed effects models
reexports

Objects exported from other packages
glmmadmb_tidiers

Tidying methods for glmmADMB models
rstanarm_tidiers

Tidying methods for an rstanarm model
glmmTMB_tidiers

Tidying methods for glmmTMB models
augment.ranef.mer

Augmentation for random effects (for caterpillar plots etc.)
ranef.MCMCglmm

Extract random effects from an MCMCglmm object
stdranef

Extract standard deviation of "random" effects from an MCMCglmm object
tidy.TMB

Tidying methods for TMB models
tidy.lqmm

Tidying methods for lqmm models (EXPERIMENTAL)
ranefLevels

Extract the levels of factors used for random effects in MCMCglmm objects
paramNamesMCMCglmm

Extract the parameter names from an MCMCglmm object
tidy.varFunc

Tidy variance structure for the nlme package.