Package: TTM 0.1.0

Zhigang Li

TTM: Terminal Trend Models on the Retrospective Time Scale

Fits retrospective-time longitudinal models for terminal trend analysis using weighted generalized estimating equations and related joint modeling tools. The package provides functions to estimate spline-based baseline and treatment effect trajectories on the retrospective time scale, obtain pointwise confidence intervals, and visualize fitted trajectories.

Authors:Tingchang Wang [aut], Zhigang Li [aut, cre]

TTM_0.1.0.tar.gz
TTM_0.1.0.zip(r-4.7-any)TTM_0.1.0.zip(r-4.6-any)
TTM_0.1.0.tar.gz(r-4.7-any)TTM_0.1.0.tar.gz(r-4.6-any)
TTM_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
TTM/json (API)

# Install 'TTM' in R:
install.packages('TTM', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/tchang-w/ttm/issues

Datasets:
  • Retro_data - Simulated retrospective joint modeling data for 'RetroJM()'
  • TTM_data - Simulated terminal trend data for 'TTM()'

On CRAN:

Conda:

3.00 score 8 exports 54 dependencies

Last updated from:86c4e82923. Checks:6 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK148
source / vignettesOK224
linux-releaseOK149
windows-develOK112
windows-releaseOK104
wasm-releaseOK97

Exports:get_beta_Aget_beta_muplot_beta_Aplot_beta_muRetroJMtest_beta_slopeTTMTTM_linear

Dependencies:backportsbootbrglm2broomclicpp11dplyrenrichwithfarvergeepackgeergenericsggplot2gluegtableisobandlabelinglatticelifecyclelme4magrittrMASSMatrixminqanleqslvnlmenloptrnnetnumDerivpillarpkgconfigpurrrR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangS7scalesstatmodstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr

Introduction to RetroJM
Overview | Package installation | Main function: RetroJM() | Arguments | Examples | Dataset | Fitting the model | Output | Pooled results | Baseline trajectory | Extract trajectory estimates at specific time points | Interpreting the trajectories | Summary

Last update: 2026-10-27
Started: 2026-10-27

Introduction to TTM
Overview | Data structure | Example dataset | Main fitting function: TTM() | Difference between TTM() and TTM_linear() | Linear-spline variant: TTM_linear() | Extracting trajectory estimates | Visualization | Test slope difference for TTM_linear() object | Summary

Last update: 2026-10-27
Started: 2026-10-27