Skip to content

merTools

Tools for Analyzing Mixed Effect Regression Models

v1.0.0 · May 30, 2026 · GPL (>= 2)

Description

Provides methods for extracting results from mixed-effect model objects fit with the 'lme4' package. Allows construction of prediction intervals efficiently from large scale linear and generalized linear mixed-effects models. This method draws from the simulation framework used in the Gelman and Hill (2007) textbook: Data Analysis Using Regression and Multilevel/Hierarchical Models.

Downloads

CRAN

7.3K

Last 30 days

1387th

22.7K

Last 90 days

91.4K

Last year

Trend: -9.6% (30d vs prior 30d)

r2u CRAN

141

Last 30 days

540

Last 90 days

1.4K

Last year

Trend: +1.4% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘broom.mixed’

Package suggested but not available for checking: ‘rstanarm’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 7, 2026
WARNING r-devel-linux-x86_64-debian-gcc

Rd files

cannot open the connection
cannot open the connection
problems found in ‘REcorrExtract.Rd’, ‘REextract.Rd’
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 20, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 18, 2026
ERROR r-devel-windows-x86_64

tests

Running 'testthat-a_m.R' [25s]
  Running 'testthat-m_z.R' [20s]
Running the tests in 'tests/testthat-m_z.R' failed.
Complete output:
  > library(testthat)
  > library(merTools)
  Loading required package: arm
  Loading required package: MASS
  Loadin
...[truncated]...
       └─base::lapply(...)
   15.               └─testthat (local) FUN(X[[i]], ...)
   16.                 └─private$handle_error(msg, i)
   17.                   └─cli::cli_abort(...)
   18.                     └─rlang::abort(...)
  Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (4)

Dependency Network

Dependencies Reverse dependencies lme4 arm dplyr mvtnorm reformulas foreach abind ggplot2 blme broom.mixed Matrix CalibrationCurves insight interplot rmcorr merTools

Version History

13 tracked
updated 1.0.0 ← 0.6.4 diff May 31, 2026
new 0.6.4 Mar 10, 2026
updated 0.6.4 ← 0.6.3 diff Jan 22, 2026
updated 0.6.3 ← 0.6.2 diff Sep 4, 2025
updated 0.6.2 ← 0.6.1 diff Feb 7, 2024
updated 0.6.1 ← 0.5.2 diff Mar 19, 2023
updated 0.5.2 ← 0.5.0 diff Jun 22, 2020
updated 0.5.0 ← 0.4.1 diff May 12, 2019
updated 0.4.1 ← 0.3.0 diff Jun 4, 2018
updated 0.3.0 ← 0.2.1 diff Dec 11, 2016
updated 0.2.1 ← 0.2.0 diff Mar 29, 2016
updated 0.2.0 ← 0.1.0 diff Feb 19, 2016
new 0.1.0 Aug 11, 2015