Package: swjm 0.1.2
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.2.tar.gz
swjm_0.1.2.zip(r-4.7)swjm_0.1.2.zip(r-4.6)swjm_0.1.2.zip(r-4.5)
swjm_0.1.2.tgz(r-4.6-x86_64)swjm_0.1.2.tgz(r-4.6-arm64)swjm_0.1.2.tgz(r-4.5-x86_64)swjm_0.1.2.tgz(r-4.5-arm64)
swjm_0.1.2.tar.gz(r-4.7-arm64)swjm_0.1.2.tar.gz(r-4.7-x86_64)swjm_0.1.2.tar.gz(r-4.6-arm64)swjm_0.1.2.tar.gz(r-4.6-x86_64)
swjm_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
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:755cfba85c. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 241 | ||
| linux-devel-x86_64 | OK | 211 | ||
| source / vignettes | OK | 293 | ||
| linux-release-arm64 | OK | 247 | ||
| linux-release-x86_64 | OK | 207 | ||
| macos-release-arm64 | OK | 182 | ||
| macos-release-x86_64 | OK | 490 | ||
| macos-oldrel-arm64 | OK | 115 | ||
| macos-oldrel-x86_64 | OK | 273 | ||
| windows-devel | OK | 163 | ||
| windows-release | OK | 159 | ||
| windows-oldrel | OK | 223 | ||
| wasm-release | OK | 185 |
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 |
