Skip to content

tram

Transformation Models

v1.4-1 · Mar 7, 2026 · GPL-2

Description

Formula-based user-interfaces to specific transformation models implemented in package 'mlt' (<DOI:10.32614/CRAN.package.mlt>, <DOI:10.32614/CRAN.package.mlt.docreg>). Available models include Cox models, some parametric survival models (Weibull, etc.), models for ordered categorical variables, normal and non-normal (Box-Cox type) linear models, and continuous outcome logistic regression (Lohse et al., 2017, <DOI:10.12688/f1000research.12934.1>). The underlying theory is described in Hothorn et al. (2018) <DOI:10.1111/sjos.12291>. An extension to transformation models for clustered data is provided (Barbanti and Hothorn, 2022, <DOI:10.1093/biostatistics/kxac048>) and a tutorial explains applications in survival analysis (Siegfried et al., 2025, <DOI:10.48550/arXiv.2402.06428>). Multivariate conditional transformation models (Klein et al, 2022, <DOI:10.1111/sjos.12501>) and shift-scale transformation models (Siegfried et al, 2023, <DOI:10.1080/00031305.2023.2203177>) can be fitted as well. The package contains an implementation of a doubly robust score test, described in Kook et al. (2024, <DOI:10.1080/01621459.2024.2395588>).

Downloads

5.5K

Last 30 days

1660th

16.2K

Last 90 days

70.1K

Last year

Trend: +18% (30d vs prior 30d)

CRAN Check Status

14 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 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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 17, 2026
NOTE 13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 14, 2026
NOTE r-release-windows-x86_64

tests

Running 'Coxph-Ex.R' [12s]
  Comparing 'Coxph-Ex.Rout' to 'Coxph-Ex.Rout.save' ... OK
  Running 'KaplanMeier-Ex.R' [3s]
  Running 'PI_OVL-Ex.R' [3s]
  Running 'Polr-Ex.R' [10s]
  Comparing 'Polr-Ex.Rout' to 'Polr-Ex.Rout.save' ... OK
  Running 'Survr
...[truncated]...
face.R' [33s]
  Running 'mtram-Ex.R' [10s]
  Comparing 'mtram-Ex.Rout' to 'mtram-Ex.Rout.save' ...63,64d62
< attr(,"class")
< [1] "vcmat_us" "matrix"   "array"   
  Running 'stram-Ex.R' [40s]
  Comparing 'stram-Ex.Rout' to 'stram-Ex.Rout.save' ... OK
ERROR 11 OK · 1 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-devel-linux-x86_64-fedora-gcc

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘NAMI.Rnw’ using knitr
--- finished re-building ‘NAMI.Rnw’

--- re-building ‘mtram.Rnw’ using knitr
--- finished re-building ‘mtram.Rnw’

+-+mtram.pdf

 *** caught segfault ***
address 0x2070, cause 
...[truncated]...
only once per page
--- finished re-building ‘survtram.Rnw’

--- re-building ‘tram.Rnw’ using knitr
--- finished re-building ‘tram.Rnw’

SUMMARY: processing the following file failed:
  ‘mtram.Rnw’

Error: Vignette re-building failed.
Execution halted
ERROR r-release-linux-x86_64

Rd files

prepare_Rd: ./man/Aareg.Rd:55: unknown macro '\bibcitet'
prepare_Rd: ./man/Aareg.Rd:56: unknown macro '\bibcitet'
checkRd: (-1) Aareg.Rd:55: Lost braces
    55 | can be found in \bibcitet{tram::Hothorn:Moest:Buehlmann:2017} and
       |              
...[truncated]...
2018}. Location-scale transformation 
       |                           ^
checkRd: (-1) tram.Rd:159: Lost braces
   159 | models have been introduced by \bibcitet{tram::Siegfried:Kook:Hothorn:2023}.
       |                                         ^
NOTE r-release-windows-x86_64

tests

Running 'Coxph-Ex.R' [12s]
  Comparing 'Coxph-Ex.Rout' to 'Coxph-Ex.Rout.save' ... OK
  Running 'KaplanMeier-Ex.R' [3s]
  Running 'PI_OVL-Ex.R' [3s]
  Running 'Polr-Ex.R' [10s]
  Comparing 'Polr-Ex.Rout' to 'Polr-Ex.Rout.save' ... OK
  Running 'Survr
...[truncated]...
face.R' [33s]
  Running 'mtram-Ex.R' [10s]
  Comparing 'mtram-Ex.Rout' to 'mtram-Ex.Rout.save' ...63,64d62
< attr(,"class")
< [1] "vcmat_us" "matrix"   "array"   
  Running 'stram-Ex.R' [40s]
  Comparing 'stram-Ex.Rout' to 'stram-Ex.Rout.save' ... OK

Reverse Dependencies (10)

imports

Dependency Network

Dependencies Reverse dependencies mlt mvtnorm Formula multcomp variables basefun sandwich survival Matrix cotram tramME tramnet tramvs trtf tramicp TH.data mlt.docreg multcomp tbm tram

Version History

new 1.4-1 Mar 10, 2026
updated 1.4-1 ← 1.4-0 diff Mar 7, 2026
updated 1.4-0 ← 1.3-2 diff Feb 25, 2026
updated 1.3-2 ← 1.3-1 diff Dec 14, 2025
updated 1.3-1 ← 1.3-0 diff Dec 3, 2025
updated 1.3-0 ← 1.2-5 diff Nov 17, 2025
updated 1.2-5 ← 1.2-4 diff Oct 7, 2025
updated 1.2-4 ← 1.2-3 diff Sep 22, 2025
updated 1.2-3 ← 1.2-2 diff Jun 17, 2025
updated 1.2-2 ← 1.2-1 diff May 8, 2025
updated 1.2-1 ← 1.2-0 diff Feb 24, 2025
updated 1.2-0 ← 1.1-2 diff Nov 18, 2024
updated 1.1-2 ← 1.1-1 diff Oct 3, 2024
updated 1.1-1 ← 1.1-0 diff Sep 27, 2024
updated 1.1-0 ← 1.0-6 diff Sep 25, 2024
updated 1.0-6 ← 1.0-5 diff Sep 17, 2024
updated 1.0-5 ← 1.0-4 diff Aug 16, 2024
updated 1.0-4 ← 1.0-3 diff May 12, 2024
updated 1.0-3 ← 1.0-2 diff Apr 15, 2024
updated 1.0-2 ← 1.0-1 diff Jan 29, 2024