Skip to content

merTools

Tools for Analyzing Mixed Effect Regression Models

v0.6.4 · Jan 22, 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

6.6K

Last 30 days

1520th

21.6K

Last 90 days

80K

Last year

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

CRAN Check Status

14 OK
Show all 14 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-macos-arm64 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 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 (3)

suggests

Dependency Network

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

Version History

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