LMMstar
Repeated Measurement Models for Discrete Times
Description
Companion R package for the course "Statistical analysis of correlated and repeated measurements for health science researchers" taught by the section of Biostatistics of the University of Copenhagen. It implements linear mixed models where the model for the variance-covariance of the residuals is specified via patterns (compound symmetry, toeplitz, unstructured, ...). Statistical inference for mean, variance, and correlation parameters is performed based on the observed information and a Satterthwaite approximation of the degrees of freedom. Normalized residuals are provided to assess model misspecification. Statistical inference can be performed for arbitrary linear or non-linear combination(s) of model coefficients. Predictions can be computed conditional to covariates only or also to outcome values.
Downloads
430
Last 30 days
9753rd
1.2K
Last 90 days
6.6K
Last year
Trend: +23.9% (30d vs prior 30d)
CRAN Check Status
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
tests
Running ‘testthat.R’ [3s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> ## * load packages
> library(testthat)
> library(LMMstar)
LMMstar version 1.1.0
Attaching package: 'LMMstar'
The following object is mas
...[truncated]...
rTest'
The following object is masked from 'package:lme4':
lmer
The following object is masked from 'package:stats':
step
> library(mice)
Error in library(mice) : there is no package called 'mice'
Execution halted
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
installed package size
installed size is 7.0Mb
sub-directories of 1Mb or more:
R 2.1Mb
doc-overview 2.2Mb
installed package size
installed size is 7.0Mb
sub-directories of 1Mb or more:
R 2.0Mb
doc-overview 2.2Mb
installed package size
installed size is 6.3Mb
sub-directories of 1Mb or more:
R 1.4Mb
doc-overview 2.2Mb