Package: FastJM 1.7.0

Shanpeng Li

FastJM: Semi-Parametric Joint Modeling of Longitudinal and Survival Data

Implements scalable joint models for large-scale competing risks time-to-event data with one or multiple longitudinal biomarkers using the efficient algorithms developed by Li et al. (2022) <doi:10.1155/2022/1362913> and <doi:10.48550/arXiv.2506.12741>. The time-to-event process is modeled using a cause-specific Cox proportional hazards model with time-fixed covariates, while longitudinal biomarkers are modeled using linear mixed-effects models. The association between the longitudinal and survival processes is captured through shared random effects. The package enables analysis of large-scale biomedical data to model biomarker trajectories, estimate their effects on event risks, and perform dynamic prediction of future events based on patients' longitudinal histories. Functions for simulating survival and longitudinal data for multiple biomarkers are included, along with built-in example datasets. The package also supports modeling a single biomarker with heterogeneous within-subject variability via functionality adapted from the 'JMH' package.

Authors:Shanpeng Li [aut, cre], Ace Mejia-Sanchez [ctb], Emily Ouyang [ctb], Gang Li [ctb]

FastJM_1.7.0.tar.gz
FastJM_1.7.0.zip(r-4.7-x86_64)FastJM_1.7.0.zip(r-4.7-arm64)
FastJM_1.7.0.tar.gz(r-4.7-arm64)FastJM_1.7.0.tar.gz(r-4.7-x86_64)FastJM_1.7.0.tar.gz(r-4.6-arm64)FastJM_1.7.0.tar.gz(r-4.6-x86_64)
FastJM_1.7.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
FastJM/json (API)

# Install 'FastJM' in R:
install.packages('FastJM', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • cdata - Simulated competing risks data correlated with ydata
  • cdatah - Simulated competing risks data where event hazards depend on within-subject variance
  • mvcdata - Simulated competing risks data correlated with mvydata
  • mvydata - Simulated bivariate longitudinal data
  • ydata - Simulated longitudinal data
  • ydatah - Simulated longitudinal data with within-subject variance

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

cpp

3.26 score 1 stars 2 packages 12 scripts 370 downloads 20 exports 173 dependencies

Last updated from:20068cee5c. Checks:8 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK678
linux-devel-x86_64OK601
source / vignettesOK558
linux-release-arm64OK558
linux-release-x86_64OK715
windows-devel-arm64OK996
windows-devel-x86_64OK871
wasm-releaseOK451

Exports:combine_biomarkersConcordanceDynPredAccfixefjmcsjmcs_controlJMMLSMJMMLSM_controlmvjmcsmvjmcs_controlranefsimJMdatasimJMWSVdatasimmvJMdatasimmvJMdatalmsurvfitJMsurvfitjmcssurvfitJMMLSMsurvfitmvjmcstimeplot

Dependencies:abindbackportsbase64encbigDbitopsbootbroombslibcachemcarcarDatacardscardxcaretcheckmateclasscliclockclustercmprskcodetoolscolorspacecommonmarkcorrplotcowplotcpp11curldata.tableDerivdiagramdigestdoBydoParalleldplyre1071evaluatefarverfastmapfontawesomeforeachforecastforeignFormulafracdifffsfuturefuture.applygenericsggplot2ggpubrggrepelggsciggsignifggsurvfitglmnetglobalsgluegowergridExtragtgtablegtsummaryhardhathighrHmischtmlTablehtmltoolshtmlwidgetsipredisobanditeratorsjquerylibjsonlitejuicyjuiceKernSmoothknitrlabelinglatticelavalifecyclelistenvlitedownlme4lmtestlubridatemagrittrmarkdownMASSMatrixMatrixModelsmemoisemetsmgcvmimeminqaModelMetricsmodelrmultcompmvtnormnlmenloptrnnetnumDerivparallellypatchworkpbkrtestpecpillarpkgconfigplotrixplyrpolsplinepolynompROCprodlimprogressrproxyPublishpurrrquantregR6rangerrappdirsrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreactablereactRrecipesreformulasreshape2riskRegressionrlangrmarkdownrmsrpartrstatixrstudioapiS7sandwichsassscalesshapeSparseMsparsevctrsSQUAREMstatmodstringistringrsurvivalTH.datatibbletidycmprsktidyrtidyselecttimechangetimeDatetimeregtinytextzdburcautf8V8vctrsviridisLitewithrxfunxml2yamlzoo

Readme and manuals

Help Manual

Help pageTopics
Simulated competing risks data correlated with ydatacdata
Simulated competing risks data where event hazards depend on within-subject variancecdatah
Combine biomarker measurements across multiple data framescombine_biomarkers
Concordance for joint modelsConcordance
Dynamic prediction accuracy metrics for joint modelsDynPredAcc
Fitted values for joint modelsfitted fitted.jmcs
Estimated coefficients estimates for joint modelsfixef
Joint modeling of longitudinal continuous data and competing risksjmcs
Control Options for jmcsjmcs_control
Joint Modeling for Continuous OutcomesJMMLSM
Control Options for JMMLSMJMMLSM_control
Simulated competing risks data correlated with mvydatamvcdata
Joint modeling of multivariate longitudinal and competing risks datamvjmcs
Control Options for mvjmcsmvjmcs_control
Simulated bivariate longitudinal datamvydata
Plot conditional probabilities for new subjectsplot plot.survfitjmcs plot.survfitJMMLSM plot.survfitmvjmcs
Fitted values for joint modelsplot.jmcs
Print jmcsprint print.jmcs print.mvjmcs
Print JMMLSMprint.JMMLSM
Print survfitjmcsprint.survfitjmcs
Print survfitJMMLSMprint.survfitJMMLSM
Print survfitmvjmcsprint.survfitmvjmcs
Random effects estimates for joint modelsranef
Residuals for joint modelsresiduals.jmcs
Simulate single-biomarker joint model datasimJMdata
Simulate joint model data with heterogeneous within-subject variabilitysimJMWSVdata
Joint modeling of multivariate longitudinal and competing risks datasimmvJMdata
Data simulation for multivariate joint models conditional on a landmark timesimmvJMdatalm
Summaries of evaluation metrics for joint modelssummary summary.DynPredAcc summary.jmcs summary.JMMLSM summary.mvjmcs
Summarize Concordancesummary.Concordance
Dynamic predictions from fitted joint modelssurvfitJM survfitJM.jmcs survfitJM.JMMLSM survfitJM.mvjmcs
Prediction in Joint Modelssurvfitjmcs
Prediction in Joint ModelssurvfitJMMLSM
Prediction in Joint Modelssurvfitmvjmcs
Diagnostic plots for the fitted joint modeltimeplot
Variance-covariance matrix of the estimated parameters for joint modelsvcov vcov.jmcs vcov.JMMLSM vcov.mvjmcs
Simulated longitudinal dataydata
Simulated longitudinal data with within-subject varianceydatah