Package: swjm 0.1.0
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.0.tar.gz
swjm_0.1.0.tar.gz(r-4.7-arm64)swjm_0.1.0.tar.gz(r-4.7-x86_64)swjm_0.1.0.tar.gz(r-4.6-arm64)swjm_0.1.0.tar.gz(r-4.6-x86_64)
swjm_0.1.0.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://cran.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:f931e7a63f. Checks:6 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 177 | ||
| linux-devel-x86_64 | OK | 203 | ||
| source / vignettes | OK | 620 | ||
| linux-release-arm64 | OK | 174 | ||
| linux-release-x86_64 | OK | 191 | ||
| wasm-release | OK | 140 |
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 |
