├── .Rbuildignore ├── .github └── workflows │ ├── pkgdown.yml │ ├── rcmdcheck.yml │ └── version-check.yml ├── .gitignore ├── .lintr ├── DESCRIPTION ├── LICENSE ├── LICENSE.md ├── NAMESPACE ├── NEWS.md ├── R ├── RcppExports.R ├── akritas.R ├── cindex.R ├── clean_data.R ├── coxtime.R ├── deephit.R ├── deepsurv.R ├── dnnsurv.R ├── helpers.R ├── helpers_keras.R ├── helpers_pycox.R ├── loghaz.R ├── methods.R ├── parametric.R ├── pchazard.R ├── simsurvdata.R ├── survivalmodels-package.R ├── utils.R └── zzz.R ├── README.Rmd ├── README.md ├── _pkgdown.yml ├── cran-comments.md ├── man-roxygen ├── param_customnet.R ├── param_discretise.R ├── param_traindata.R ├── pycox.R ├── return_predict.R └── return_train.R ├── man ├── akritas.Rd ├── build_keras_net.Rd ├── build_pytorch_net.Rd ├── cindex.Rd ├── coxtime.Rd ├── deephit.Rd ├── deepsurv.Rd ├── dnnsurv.Rd ├── get_keras_optimizer.Rd ├── get_pycox_activation.Rd ├── get_pycox_callbacks.Rd ├── get_pycox_init.Rd ├── get_pycox_optim.Rd ├── install_keras.Rd ├── install_pycox.Rd ├── install_torch.Rd ├── loghaz.Rd ├── parametric.Rd ├── pchazard.Rd ├── predict.akritas.Rd ├── predict.dnnsurv.Rd ├── predict.parametric.Rd ├── predict.pycox.Rd ├── pycox_prepare_train_data.Rd ├── requireNamespaces.Rd ├── set_seed.Rd ├── simsurvdata.Rd ├── surv_to_risk.Rd └── survivalmodels-package.Rd ├── src ├── C_akritas.cpp ├── C_survassert.cpp └── RcppExports.cpp ├── survivalmodels.Rproj └── tests ├── testthat.R └── testthat ├── helpers.R ├── test_akritas.R ├── test_cindex.R ├── test_coxtime.R ├── test_deephit.R ├── test_deepsurv.R ├── test_dnnsurv.R ├── test_helpers.R ├── test_keras.R ├── test_loghaz.R ├── test_methods.R ├── test_parametric.R ├── test_pchazard.R ├── test_pycox.R └── test_utils.R /.Rbuildignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/.Rbuildignore -------------------------------------------------------------------------------- /.github/workflows/pkgdown.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/.github/workflows/pkgdown.yml -------------------------------------------------------------------------------- /.github/workflows/rcmdcheck.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/.github/workflows/rcmdcheck.yml -------------------------------------------------------------------------------- /.github/workflows/version-check.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/.github/workflows/version-check.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/.gitignore -------------------------------------------------------------------------------- /.lintr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/.lintr -------------------------------------------------------------------------------- /DESCRIPTION: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/DESCRIPTION -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | YEAR: 2020 2 | COPYRIGHT HOLDER: Raphael Sonabend 3 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/LICENSE.md -------------------------------------------------------------------------------- /NAMESPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/NAMESPACE -------------------------------------------------------------------------------- /NEWS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/NEWS.md -------------------------------------------------------------------------------- /R/RcppExports.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/R/RcppExports.R -------------------------------------------------------------------------------- /R/akritas.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/R/akritas.R -------------------------------------------------------------------------------- /R/cindex.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/R/cindex.R -------------------------------------------------------------------------------- /R/clean_data.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/R/clean_data.R -------------------------------------------------------------------------------- /R/coxtime.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/R/coxtime.R -------------------------------------------------------------------------------- /R/deephit.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/R/deephit.R -------------------------------------------------------------------------------- /R/deepsurv.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/R/deepsurv.R -------------------------------------------------------------------------------- /R/dnnsurv.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/R/dnnsurv.R -------------------------------------------------------------------------------- /R/helpers.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/R/helpers.R -------------------------------------------------------------------------------- /R/helpers_keras.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/R/helpers_keras.R -------------------------------------------------------------------------------- /R/helpers_pycox.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/R/helpers_pycox.R -------------------------------------------------------------------------------- /R/loghaz.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/R/loghaz.R -------------------------------------------------------------------------------- /R/methods.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/R/methods.R -------------------------------------------------------------------------------- /R/parametric.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/R/parametric.R -------------------------------------------------------------------------------- /R/pchazard.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/R/pchazard.R -------------------------------------------------------------------------------- /R/simsurvdata.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/R/simsurvdata.R -------------------------------------------------------------------------------- /R/survivalmodels-package.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/R/survivalmodels-package.R -------------------------------------------------------------------------------- /R/utils.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/R/utils.R -------------------------------------------------------------------------------- /R/zzz.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/R/zzz.R -------------------------------------------------------------------------------- /README.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/README.Rmd -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/README.md -------------------------------------------------------------------------------- /_pkgdown.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/_pkgdown.yml -------------------------------------------------------------------------------- /cran-comments.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/cran-comments.md -------------------------------------------------------------------------------- /man-roxygen/param_customnet.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man-roxygen/param_customnet.R -------------------------------------------------------------------------------- /man-roxygen/param_discretise.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man-roxygen/param_discretise.R -------------------------------------------------------------------------------- /man-roxygen/param_traindata.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man-roxygen/param_traindata.R -------------------------------------------------------------------------------- /man-roxygen/pycox.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man-roxygen/pycox.R -------------------------------------------------------------------------------- /man-roxygen/return_predict.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man-roxygen/return_predict.R -------------------------------------------------------------------------------- /man-roxygen/return_train.R: -------------------------------------------------------------------------------- 1 | #' @return An object of class `survivalmodel`. 2 | -------------------------------------------------------------------------------- /man/akritas.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/akritas.Rd -------------------------------------------------------------------------------- /man/build_keras_net.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/build_keras_net.Rd -------------------------------------------------------------------------------- /man/build_pytorch_net.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/build_pytorch_net.Rd -------------------------------------------------------------------------------- /man/cindex.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/cindex.Rd -------------------------------------------------------------------------------- /man/coxtime.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/coxtime.Rd -------------------------------------------------------------------------------- /man/deephit.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/deephit.Rd -------------------------------------------------------------------------------- /man/deepsurv.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/deepsurv.Rd -------------------------------------------------------------------------------- /man/dnnsurv.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/dnnsurv.Rd -------------------------------------------------------------------------------- /man/get_keras_optimizer.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/get_keras_optimizer.Rd -------------------------------------------------------------------------------- /man/get_pycox_activation.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/get_pycox_activation.Rd -------------------------------------------------------------------------------- /man/get_pycox_callbacks.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/get_pycox_callbacks.Rd -------------------------------------------------------------------------------- /man/get_pycox_init.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/get_pycox_init.Rd -------------------------------------------------------------------------------- /man/get_pycox_optim.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/get_pycox_optim.Rd -------------------------------------------------------------------------------- /man/install_keras.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/install_keras.Rd -------------------------------------------------------------------------------- /man/install_pycox.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/install_pycox.Rd -------------------------------------------------------------------------------- /man/install_torch.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/install_torch.Rd -------------------------------------------------------------------------------- /man/loghaz.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/loghaz.Rd -------------------------------------------------------------------------------- /man/parametric.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/parametric.Rd -------------------------------------------------------------------------------- /man/pchazard.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/pchazard.Rd -------------------------------------------------------------------------------- /man/predict.akritas.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/predict.akritas.Rd -------------------------------------------------------------------------------- /man/predict.dnnsurv.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/predict.dnnsurv.Rd -------------------------------------------------------------------------------- /man/predict.parametric.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/predict.parametric.Rd -------------------------------------------------------------------------------- /man/predict.pycox.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/predict.pycox.Rd -------------------------------------------------------------------------------- /man/pycox_prepare_train_data.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/pycox_prepare_train_data.Rd -------------------------------------------------------------------------------- /man/requireNamespaces.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/requireNamespaces.Rd -------------------------------------------------------------------------------- /man/set_seed.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/set_seed.Rd -------------------------------------------------------------------------------- /man/simsurvdata.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/simsurvdata.Rd -------------------------------------------------------------------------------- /man/surv_to_risk.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/surv_to_risk.Rd -------------------------------------------------------------------------------- /man/survivalmodels-package.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/man/survivalmodels-package.Rd -------------------------------------------------------------------------------- /src/C_akritas.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/src/C_akritas.cpp -------------------------------------------------------------------------------- /src/C_survassert.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/src/C_survassert.cpp -------------------------------------------------------------------------------- /src/RcppExports.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/src/RcppExports.cpp -------------------------------------------------------------------------------- /survivalmodels.Rproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/survivalmodels.Rproj -------------------------------------------------------------------------------- /tests/testthat.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/tests/testthat.R -------------------------------------------------------------------------------- /tests/testthat/helpers.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/tests/testthat/helpers.R -------------------------------------------------------------------------------- /tests/testthat/test_akritas.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/tests/testthat/test_akritas.R -------------------------------------------------------------------------------- /tests/testthat/test_cindex.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/tests/testthat/test_cindex.R -------------------------------------------------------------------------------- /tests/testthat/test_coxtime.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/tests/testthat/test_coxtime.R -------------------------------------------------------------------------------- /tests/testthat/test_deephit.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/tests/testthat/test_deephit.R -------------------------------------------------------------------------------- /tests/testthat/test_deepsurv.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/tests/testthat/test_deepsurv.R -------------------------------------------------------------------------------- /tests/testthat/test_dnnsurv.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/tests/testthat/test_dnnsurv.R -------------------------------------------------------------------------------- /tests/testthat/test_helpers.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/tests/testthat/test_helpers.R -------------------------------------------------------------------------------- /tests/testthat/test_keras.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/tests/testthat/test_keras.R -------------------------------------------------------------------------------- /tests/testthat/test_loghaz.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/tests/testthat/test_loghaz.R -------------------------------------------------------------------------------- /tests/testthat/test_methods.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/tests/testthat/test_methods.R -------------------------------------------------------------------------------- /tests/testthat/test_parametric.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/tests/testthat/test_parametric.R -------------------------------------------------------------------------------- /tests/testthat/test_pchazard.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/tests/testthat/test_pchazard.R -------------------------------------------------------------------------------- /tests/testthat/test_pycox.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/tests/testthat/test_pycox.R -------------------------------------------------------------------------------- /tests/testthat/test_utils.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelS1/survivalmodels/HEAD/tests/testthat/test_utils.R --------------------------------------------------------------------------------