Skip to content

mmrm

0.3.18

Mixed Models for Repeated Measures

12packages depend
90.9Kdownloads / year
97.4%test coverage
13/13checks pass

Overview

About
Maintained by Daniel Sabanes BoveFirst published 2022-10-1816 releasesCRAN page ↗GitHub ↗

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

Install

Health

CRAN checks
13OK
Slowest check: 18.5 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 1.99
97.4%
Coverage · measured lines
100%
Documentation · exports
15
Dependencies · direct
Check history
  • OK2026-07-18
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-07-16
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-23
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-20
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-06-12
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 6 earlier snapshots
  • ERROR2026-06-05
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-07
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-23
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-04-22
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
89%
Return-value docs
93%
References docs
1%

Downloads

90.9K
CRAN downloads in the past year
Rank #1,440 · ~249/day · ~7.6K/mo
Daily download trend is not available in this view yet.
6.1K30 days
21.8K90 days
90.9K1 year
Compare downloads with other packages →
Also on779 r2u37 autocran1.2K conda_forge41 c2d4u

Repository

Repository
159Stars
28Forks
22Open issues
0Open PRs
13Releases
430Commits
30Contributors
430 commits · Last activity 2026-07-02 · +0.6% stars, 30d

Stars over time

2025-07-08 · 1422026-07-07 · 159

Repository practices

Upstream repositoryBeta

11 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/openpharma/mmrm on 2026-07-19.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
Docs source (1)
README.Rmd
Automation and maintenance (1)
pre-commit
Show all practices
Lint, format, editor (3)
lintrAirRStudio project
Governance and community (4)
Issue templatesPR templateFundingCODEOWNERS
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Code & Tests

Datasets

People & History

People (23)
Maintainer (1)
Author, Maintainer
Authors (15)
Author, Maintainer
Author · added in 0.3.6
Author · added in 0.3.18
Author · added in 0.3.15
Author · added in 0.3.6
Author
Author · added in 0.3.18
Author · added in 0.3.6
Author · added in 0.3.6
Author · added in 0.3.6
Author
Contributors (2)
Contributor
Contributor · added in 0.3.14
Copyright holders (6)
Copyright holder, Funder · added in 0.3.6
Copyright holder, Funder
Copyright holder, Funder
Copyright holder, Funder
Copyright holder, Funder
Copyright holder, Funder · added in 0.3.13
Funders (6)
Copyright holder, Funder · added in 0.3.6
Copyright holder, Funder
Copyright holder, Funder
Copyright holder, Funder
Copyright holder, Funder
Copyright holder, Funder · added in 0.3.13
Package Timeline

16 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.3.18Latest
    2026-06-19 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.3.17
    2026-01-08 · diff ↗
  • 0.3.16
    2025-12-09 · diff ↗
  • 0.3.15
    2025-06-10 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.3.14
    2024-09-28 · diff ↗
  • 0.3.13
    2024-09-23 · diff ↗
  • 0.3.12
    2024-06-26 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.3.11
    2024-03-05 · diff ↗
  • 0.3.10
    2024-01-26 · diff ↗
  • 0.3.9
    2024-01-25 · diff ↗
  • 0.3.8
    2024-01-24 · diff ↗
  • 0.3.7
    2023-12-09 · diff ↗
  • 0.3.6
    2023-11-17 · diff ↗
Show 5 earlier events
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.2
    2022-12-20 · diff ↗
  • 0.1.5
    2022-10-18 · diff ↗
  • 0.1.3
    2022-10-18
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-10-18
Total releases
16 / 4 yrs
License
Apache License 2.0 OSI
Minimum R
≥ 4.1
Bundled data
126 KB / 3 files
Download size
912 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →