Crandore Hub

mmrm

Mixed Models for Repeated Measures

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'.

Versions across snapshots

VersionRepositoryFileSize
0.3.17 rolling linux/jammy R-4.5 mmrm_0.3.17.tar.gz 2.4 MiB
0.3.17 rolling linux/noble R-4.5 mmrm_0.3.17.tar.gz 2.5 MiB
0.3.17 rolling source/ R- mmrm_0.3.17.tar.gz 909.7 KiB
0.3.17 latest linux/jammy R-4.5 mmrm_0.3.17.tar.gz 2.4 MiB
0.3.17 latest linux/noble R-4.5 mmrm_0.3.17.tar.gz 2.5 MiB
0.3.17 latest source/ R- mmrm_0.3.17.tar.gz 909.7 KiB
0.3.17 2026-04-26 source/ R- mmrm_0.3.17.tar.gz 909.7 KiB
0.3.17 2026-04-23 source/ R- mmrm_0.3.17.tar.gz 909.7 KiB
0.3.17 2026-04-09 windows/windows R-4.5 mmrm_0.3.17.zip 2.7 MiB
0.3.14 2025-04-20 source/ R- mmrm_0.3.14.tar.gz 763.1 KiB

Dependencies (latest)

Imports

LinkingTo

Suggests