Package: survkl 1.0.0

Yubo Shao

survkl: Estimate Survival Data with Data Integration

Provides flexible and efficient tools for integrating external risk scores into Cox proportional hazards models while accounting for population heterogeneity. Enables robust estimation, improved predictive accuracy, and user-friendly workflows for modern survival analysis. For more information, see Wang et al. (2023) <doi:10.48550/arXiv.2302.11123>.

Authors:Yubo Shao [aut, cre], Lingfeng Luo [aut], Xiaohan Liu [aut], Junyi Qiu [aut], Di Wang [aut], Kevin He [aut]

survkl_1.0.0.tar.gz
survkl_1.0.0.tar.gz(r-4.7-arm64)survkl_1.0.0.tar.gz(r-4.7-x86_64)survkl_1.0.0.tar.gz(r-4.6-arm64)survkl_1.0.0.tar.gz(r-4.6-x86_64)
survkl_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
survkl/json (API)
NEWS

# Install 'survkl' in R:
install.packages('survkl', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/um-kevinhe/survkl/issues

Pkgdown/docs site:https://um-kevinhe.github.io

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:

On CRAN:

Conda:

openblascppopenmp

3.00 score 2 scripts 519 downloads 11 exports 23 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-arm64OK173
linux-devel-x86_64OK172
source / vignettesOK432
linux-release-arm64OK186
linux-release-x86_64OK175
wasm-releaseOK146

Exports:cal_surv_probcoxklcoxkl_enetcoxkl_ridgecv.coxklcv.coxkl_enetcv.coxkl_ridgecv.plotgenerate_etaloss_fntest_eval

Dependencies:clicowplotcpp11farverggplot2gluegtableisobandlabelinglatticelifecycleMatrixR6RColorBrewerRcppRcppArmadilloRcppParallelrlangS7scalesvctrsviridisLitewithr

Methods for Transfer-learning Based Integrated Cox Models

Rendered fromMethods.Rmdusingknitr::rmarkdownon May 21 2026.

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

survkl: Transfer-Learning Based Integrated Cox Models

Rendered fromsurvkl.Rmdusingknitr::rmarkdownon May 21 2026.

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

Readme and manuals

Help Manual

Help pageTopics
Calculate Survival Probabilitiescal_surv_prob
Extract Coefficients from a 'coxkl' Objectcoef.coxkl
Extract Coefficients from a 'coxkl_enet' Objectcoef.coxkl_enet
Extract Coefficients from a 'coxkl_ridge' Objectcoef.coxkl_ridge
Cox Proportional Hazards Model with KL Divergence for Data Integrationcoxkl
Cox Proportional Hazards Model with KL Divergence for Data Integration and Lasso & Elastic Net Penaltycoxkl_enet
Cox Proportional Hazards Model with Ridge Penalty and External Informationcoxkl_ridge
Cross-Validated Selection of Integration Parameter ('eta') for the Cox–KL Modelcv.coxkl
Cross-Validation for CoxKL Model with elastic net & lasso penaltycv.coxkl_enet
Cross-Validation for CoxKL Ridge Model (eta tuning)cv.coxkl_ridge
Plot Cross-Validation Results vs Etacv.plot
Example high-dimensional survival dataExampleData_highdim
Example low-dimensional survival dataExampleData_lowdim
Generate a Sequence of Tuning Parameters (eta)generate_eta
Calculate the Log-Partial Likelihood for a Stratified Cox Modelloss_fn
Plot Model Performance vs Eta for 'coxkl'plot.coxkl
Plot Model Performance vs Lambda for 'coxkl_enet'plot.coxkl_enet
Plot Model Performance vs Lambda for 'coxkl_ridge'plot.coxkl_ridge
Predict Linear Predictors from a 'coxkl' Objectpredict.coxkl
Predict Linear Predictors from a coxkl_enet Objectpredict.coxkl_enet
Predict Linear Predictors from a coxkl_ridge Objectpredict.coxkl_ridge
Study to Understand Prognoses Preferences Outcomes and Risks of Treatmentsupport
Evaluate model performance on test datatest_eval