coxme: Mixed Effects Cox Models

Fit Cox proportional hazards models containing both fixed and random effects. The random effects can have a general form, of which familial interactions (a "kinship" matrix) is a particular special case. Note that the simplest case of a mixed effects Cox model, i.e. a single random per-group intercept, is also called a "frailty" model. The approach is based on Ripatti and Palmgren, Biometrics 2002.

Version: 2.2-16
Priority: optional
Depends: survival (≥ 2.36.14), methods, bdsmatrix (≥ 1.3), R (≥ 2.10)
Imports: nlme, Matrix (≥ 1.0)
LinkingTo: bdsmatrix
Suggests: mvtnorm, kinship2
Published: 2020-01-14
Author: Terry M. Therneau [aut, cre]
Maintainer: Terry M. Therneau <therneau at>
License: LGPL-2
Copyright: see file COPYRIGHTS
NeedsCompilation: yes
Materials: NEWS
In views: Survival
CRAN checks: coxme results


Reference manual: coxme.pdf
Vignettes: Mixed Effects Cox Models
Coxme and the Laplace Approximation
The lmekin function
Special Variance Structures
Package source: coxme_2.2-16.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release: coxme_2.2-16.tgz, r-oldrel: coxme_2.2-16.tgz
Old sources: coxme archive

Reverse dependencies:

Reverse imports: coxmeg, famSKATRC, jstable, KMgene, MAGNAMWAR, mlmm.gwas, MXM, RVFam, seqMeta, StatCharrms
Reverse suggests: AICcmodavg, car, gap, insight, multcomp, tram, tramME
Reverse enhances: emmeans, MuMIn


Please use the canonical form to link to this page.