Skip to content

mmrm

Mixed Models for Repeated Measures

v0.3.17 · Jan 7, 2026 · Apache License 2.0

Description

Mixed models for repeated measures (MMRM) are a popular choice for analyzing longitudinal continuous outcomes in randomized clinical trials and beyond; see Cnaan, Laird and Slasor (1997) <doi:10.1002/(SICI)1097-0258(19971030)16:20%3C2349::AID-SIM667%3E3.0.CO;2-E> for a tutorial and Mallinckrodt, Lane, Schnell, Peng and Mancuso (2008) <doi:10.1177/009286150804200402> for a review. This package implements MMRM based on the marginal linear model without random effects using Template Model Builder ('TMB') which enables fast and robust model fitting. Users can specify a variety of covariance matrices, weight observations, fit models with restricted or standard maximum likelihood inference, perform hypothesis testing with Satterthwaite or Kenward-Roger adjustment, and extract least square means estimates by using 'emmeans'.

Downloads

7.2K

Last 30 days

1411th

7.2K

Last 90 days

7.2K

Last year

CRAN Check Status

3 NOTE
11 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 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
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 details (14 non-OK)
OK 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

*


            
NOTE r-oldrel-macos-arm64

installed package size

  installed size is 125.9Mb
  sub-directories of 1Mb or more:
    libs  124.0Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is 128.2Mb
  sub-directories of 1Mb or more:
    libs  126.2Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  6.7Mb
  sub-directories of 1Mb or more:
    libs   4.7Mb
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

*


            

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-oldrel-macos-arm64

installed package size

  installed size is 125.9Mb
  sub-directories of 1Mb or more:
    libs  124.0Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is 128.2Mb
  sub-directories of 1Mb or more:
    libs  126.2Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  6.7Mb
  sub-directories of 1Mb or more:
    libs   4.7Mb

Reverse Dependencies (9)

Dependency Network

Dependencies Reverse dependencies checkmate generics lifecycle MASS Matrix nlme Rcpp Rdpack stringr tibble TMB junco rbmi splinetrials tern.mmrm DoseFinding brms.mmrm broom.helpers insight parameters mmrm

Version History

new 0.3.17 Mar 9, 2026