Package: swjm 0.1.1
swjm: Stagewise Variable Selection for Joint Models of Semi-Competing Risks
Implements stagewise regression for variable selection in joint models of recurrent events and terminal events (semi-competing risks). Supports two model frameworks: the joint frailty model (Cox-type) and the joint scale-change model (AFT-type). Provides cooperative lasso, lasso, and group lasso penalties with cross-validation for tuning parameter selection via cross-fitted estimating equations.
Authors:
swjm_0.1.1.tar.gz
swjm_0.1.1.zip(r-4.7)swjm_0.1.1.zip(r-4.6)swjm_0.1.1.zip(r-4.5)
swjm_0.1.1.tgz(r-4.6-x86_64)swjm_0.1.1.tgz(r-4.6-arm64)swjm_0.1.1.tgz(r-4.5-x86_64)swjm_0.1.1.tgz(r-4.5-arm64)
swjm_0.1.1.tar.gz(r-4.7-arm64)swjm_0.1.1.tar.gz(r-4.7-x86_64)swjm_0.1.1.tar.gz(r-4.6-arm64)swjm_0.1.1.tar.gz(r-4.6-x86_64)
swjm_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
swjm/json (API)
| # Install 'swjm' in R: |
| install.packages('swjm', repos = c('https://jaredhuling.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jaredhuling/swjm/issues
Last updated from:cee664142a. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 181 | ||
| linux-devel-x86_64 | OK | 194 | ||
| source / vignettes | OK | 600 | ||
| linux-release-arm64 | OK | 199 | ||
| linux-release-x86_64 | OK | 198 | ||
| macos-release-arm64 | OK | 99 | ||
| macos-release-x86_64 | OK | 309 | ||
| macos-oldrel-arm64 | OK | 107 | ||
| macos-oldrel-x86_64 | OK | 226 | ||
| windows-devel | OK | 177 | ||
| windows-release | OK | 231 | ||
| windows-oldrel | OK | 154 | ||
| wasm-release | OK | 137 |
Exports:baseline_hazardcv_stagewisegenerate_datagenerate_data_jfmgenerate_data_jscmstagewise_fit
Dependencies:BBclicpp11dfoptimdirectlabelsfarverggplot2gluegtableisobandlabelinglatticelifecycleMASSMatrixmgcvnleqslvnlmenloptrnumDerivoptimxpracmaquadprogR6RColorBrewerRcppRcppArmadilloredareRegrlangrootSolveS7scalesscamsplines2SQUAREMsurvivalvctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| swjm: Stagewise Variable Selection for Joint Models of Semi-Competing Risks | swjm-package swjm |
| Cumulative Baseline Hazard Step Functions | baseline_hazard |
| Cross-Validation for Stagewise Variable Selection | cv_stagewise |
| Generate Simulated Data for Joint Models | generate_data |
| Generate Simulated Data for the Joint Frailty Model (JFM) | generate_data_jfm |
| Generate Simulated Data for the Joint Scale-Change Model (JSCM) | generate_data_jscm |
| Plot Cross-Validation Results | plot.swjm_cv |
| Plot a Stagewise Coefficient Path | plot.swjm_path |
| Plot Predicted Survival Curves and Predictor Contributions | plot.swjm_pred |
| Predict from a Cross-Validated Joint Model Fit | predict.swjm_cv |
| Fit a Stagewise Regularization Path | stagewise_fit |
