Package: swjm 0.1.0

Jared D. Huling

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:Jared D. Huling [aut, cre], Lingfeng Huo [aut], Ziren Jiang [aut], Jue Hou [aut], Sy Han Chiou [ctb], Chiung-Yu Huang [ctb]

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'))
Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

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

openblascppopenmp

2.70 score 8 scripts 493 downloads 6 exports 40 dependencies

Last updated from:f931e7a63f. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK177
linux-devel-x86_64OK203
source / vignettesOK620
linux-release-arm64OK174
linux-release-x86_64OK191
wasm-releaseOK140

Exports:baseline_hazardcv_stagewisegenerate_datagenerate_data_jfmgenerate_data_jscmstagewise_fit

Dependencies:BBclicpp11dfoptimdirectlabelsfarverggplot2gluegtableisobandlabelinglatticelifecycleMASSMatrixmgcvnleqslvnlmenloptrnumDerivoptimxpracmaquadprogR6RColorBrewerRcppRcppArmadilloredareRegrlangrootSolveS7scalesscamsplines2SQUAREMsurvivalvctrsviridisLitewithr

Stagewise Variable Selection for Joint Semi-Competing Risk Models

Rendered fromswjm.Rmdusingknitr::rmarkdownon May 21 2026.

Last update: 2026-04-21
Started: 2026-04-21