{
  "_id": "6a10206aacfb0bcc41c8b969",
  "Package": "survivalmodels",
  "Title": "Models for Survival Analysis",
  "Version": "0.1.19",
  "Authors@R": "c(person(given = \"Raphael\",\nfamily = \"Sonabend\",\nrole = c(\"aut\", \"cre\"),\nemail = \"raphaelsonabend@gmail.com\",\ncomment = c(ORCID = \"0000-0001-9225-4654\")),\nperson(given = \"John\",\nfamily = \"Zobolas\",\nrole = c(\"aut\"),\nemail = \"bblodfon@gmail.com\",\ncomment = c(ORCID = \"0000-0002-3609-8674\")))",
  "Description": "Implementations of classical and machine learning models\nfor survival analysis, including deep neural networks via\n'keras' and 'tensorflow'. Each model includes a separated fit\nand predict interface with consistent prediction types for\npredicting risk, survival probabilities, or survival\ndistributions with 'distr6'\n<https://CRAN.R-project.org/package=distr6>. Models are either\nimplemented from 'Python' via 'reticulate'\n<https://CRAN.R-project.org/package=reticulate>, from code in\nGitHub packages, or novel implementations using 'Rcpp'\n<https://CRAN.R-project.org/package=Rcpp>. Novel machine\nlearning survival models wil be included in the package in\nnear-future updates. Neural networks are implemented from the\n'Python' package 'pycox' <https://github.com/havakv/pycox> and\nare detailed by Kvamme et al. (2019)\n<https://jmlr.org/papers/v20/18-424.html>. The 'Akritas'\nestimator is defined in Akritas (1994)\n<doi:10.1214/aos/1176325630>. 'DNNSurv' is defined in Zhao and\nFeng (2020) <arXiv:1908.02337>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/RaphaelS1/survivalmodels/",
  "BugReports": "https://github.com/RaphaelS1/survivalmodels/issues",
  "Remotes": [
    "xoopR/distr6",
    "xoopR/param6",
    "xoopR/set6"
  ],
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "Repository": "https://raphaels1.r-universe.dev",
  "Date/Publication": "2024-07-01 08:40:40 UTC",
  "RemoteUrl": "https://github.com/RaphaelS1/survivalmodels",
  "RemoteRef": "HEAD",
  "RemoteSha": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-14 06:12:25 UTC",
    "User": "root"
  },
  "Author": "Raphael Sonabend [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-9225-4654>),\nJohn Zobolas [aut] (ORCID: <https://orcid.org/0000-0002-3609-8674>)",
  "Maintainer": "Raphael Sonabend <raphaelsonabend@gmail.com>",
  "MD5sum": "552e66a1e41e56af25abf8ad82322827",
  "_user": "raphaels1",
  "_type": "src",
  "_file": "survivalmodels_0.1.19.tar.gz",
  "_fileid": "184c10e7f85c925f81d3130acf8a898263a24237e4a601a9ee2827bd76cfecfe",
  "_filesize": 287206,
  "_sha256": "184c10e7f85c925f81d3130acf8a898263a24237e4a601a9ee2827bd76cfecfe",
  "_created": "2026-05-14T06:12:25.000Z",
  "_published": "2026-05-22T09:22:50.530Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77351922914,
      "time": 180,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6988386830"
    },
    {
      "job": 77351923034,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6988378649"
    },
    {
      "job": 77351923566,
      "time": 156,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6988381276"
    },
    {
      "job": 77351924061,
      "time": 156,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6988382720"
    },
    {
      "job": 77351923193,
      "time": 115,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6988372611"
    },
    {
      "job": 77351923189,
      "time": 205,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6988392366"
    },
    {
      "job": 77351922778,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6988375777"
    },
    {
      "job": 77351922749,
      "time": 218,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6988395583"
    },
    {
      "job": 77351922471,
      "time": 255,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988345450"
    },
    {
      "job": 77351922100,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157160915"
    },
    {
      "job": 77351922950,
      "time": 163,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6988383226"
    },
    {
      "job": 77351923223,
      "time": 202,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6988391979"
    },
    {
      "job": 77351922846,
      "time": 168,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": ""
    }
  ],
  "_buildurl": "https://github.com/r-universe/raphaels1/actions/runs/25844859694",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/RaphaelS1/survivalmodels",
  "_commit": {
    "id": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
    "author": "Raphael Sonabend <raphaelsonabend@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md",
    "time": 1719823240
  },
  "_maintainer": {
    "name": "Raphael Sonabend",
    "email": "raphaelsonabend@gmail.com",
    "login": "raphaels1",
    "linkedin": "in/raphael-sonabend",
    "uuid": 25639974,
    "orcid": "0000-0001-9225-4654"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.5",
      "role": "Imports"
    },
    {
      "package": "distr6",
      "version": ">= 1.6.6",
      "role": "Suggests"
    },
    {
      "package": "keras",
      "version": ">= 2.11.0",
      "role": "Suggests"
    },
    {
      "package": "param6",
      "role": "Suggests"
    },
    {
      "package": "pseudo",
      "role": "Suggests"
    },
    {
      "package": "reticulate",
      "role": "Suggests"
    },
    {
      "package": "set6",
      "role": "Suggests"
    },
    {
      "package": "survival",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "raphaels1",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 59,
  "_contributors": [
    {
      "user": "raphaels1",
      "count": 128,
      "uuid": 25639974
    },
    {
      "user": "bblodfon",
      "count": 14,
      "uuid": 10909555
    },
    {
      "user": "web-flow",
      "count": 2,
      "uuid": 19864447
    }
  ],
  "_userbio": {
    "uuid": 25639974,
    "type": "user",
    "name": "Raphael Sonabend-Friend",
    "description": "Director and Founder of OSPO Now. You can find my code scattered across orgs: RaphaelS1, mlr-org, and xoopR."
  },
  "_downloads": {
    "count": 531,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/survivalmodels"
  },
  "_devurl": "https://github.com/raphaels1/survivalmodels",
  "_searchresults": 69,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/survivalmodels.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/foucher-y/survivalmodels",
  "_realowner": "foucher-y",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-10-15"
    },
    {
      "version": "0.1.1",
      "date": "2020-10-20"
    },
    {
      "version": "0.1.2",
      "date": "2020-11-03"
    },
    {
      "version": "0.1.3",
      "date": "2020-11-11"
    },
    {
      "version": "0.1.4",
      "date": "2020-11-18"
    },
    {
      "version": "0.1.5",
      "date": "2021-01-17"
    },
    {
      "version": "0.1.6",
      "date": "2021-02-09"
    },
    {
      "version": "0.1.7",
      "date": "2021-03-09"
    },
    {
      "version": "0.1.8",
      "date": "2021-04-17"
    },
    {
      "version": "0.1.9",
      "date": "2021-09-12"
    },
    {
      "version": "0.1.11",
      "date": "2022-02-16"
    },
    {
      "version": "0.1.12",
      "date": "2022-03-11"
    },
    {
      "version": "0.1.13",
      "date": "2022-03-24"
    },
    {
      "version": "0.1.191",
      "date": "2024-03-19"
    }
  ],
  "_exports": [
    "akritas",
    "build_keras_net",
    "build_pytorch_net",
    "cindex",
    "coxtime",
    "deephit",
    "deepsurv",
    "dnnsurv",
    "get_keras_optimizer",
    "get_pycox_activation",
    "get_pycox_callbacks",
    "get_pycox_init",
    "get_pycox_optim",
    "install_keras",
    "install_pycox",
    "install_torch",
    "loghaz",
    "parametric",
    "pchazard",
    "pycox_prepare_train_data",
    "requireNamespaces",
    "set_seed",
    "simsurvdata",
    "surv_to_risk"
  ],
  "_help": [
    {
      "page": "survivalmodels-package",
      "title": "survivalmodels: Models for Survival Analysis",
      "topics": [
        "survivalmodels-package",
        "survivalmodels"
      ]
    },
    {
      "page": "akritas",
      "title": "Akritas Conditional Non-Parametric Survival Estimator",
      "topics": [
        "akritas"
      ]
    },
    {
      "page": "build_keras_net",
      "title": "Build a Keras Multilayer Perceptron",
      "topics": [
        "build_keras_net"
      ]
    },
    {
      "page": "build_pytorch_net",
      "title": "Build a Pytorch Multilayer Perceptron",
      "topics": [
        "build_pytorch_net"
      ]
    },
    {
      "page": "cindex",
      "title": "Compute Concordance of survivalmodel Risk",
      "topics": [
        "cindex"
      ]
    },
    {
      "page": "coxtime",
      "title": "Cox-Time Survival Neural Network",
      "topics": [
        "coxtime"
      ]
    },
    {
      "page": "deephit",
      "title": "DeepHit Survival Neural Network",
      "topics": [
        "deephit"
      ]
    },
    {
      "page": "deepsurv",
      "title": "DeepSurv Survival Neural Network",
      "topics": [
        "deepsurv"
      ]
    },
    {
      "page": "dnnsurv",
      "title": "DNNSurv Neural Network for Conditional Survival Probabilities",
      "topics": [
        "dnnsurv"
      ]
    },
    {
      "page": "get_keras_optimizer",
      "title": "Get Keras Optimizer",
      "topics": [
        "get_keras_optimizer"
      ]
    },
    {
      "page": "get_pycox_activation",
      "title": "Get Pytorch Activation Function",
      "topics": [
        "get_pycox_activation"
      ]
    },
    {
      "page": "get_pycox_callbacks",
      "title": "Get Torchtuples Callbacks",
      "topics": [
        "get_pycox_callbacks"
      ]
    },
    {
      "page": "get_pycox_init",
      "title": "Get Pytorch Weight Initialization Method",
      "topics": [
        "get_pycox_init"
      ]
    },
    {
      "page": "get_pycox_optim",
      "title": "Get Pytorch Optimizer",
      "topics": [
        "get_pycox_optim"
      ]
    },
    {
      "page": "install_keras",
      "title": "Install Keras and Tensorflow",
      "topics": [
        "install_keras"
      ]
    },
    {
      "page": "install_pycox",
      "title": "Install Pycox With Reticulate",
      "topics": [
        "install_pycox"
      ]
    },
    {
      "page": "install_torch",
      "title": "Install Torch With Reticulate",
      "topics": [
        "install_torch"
      ]
    },
    {
      "page": "loghaz",
      "title": "Logistic-Hazard Survival Neural Network",
      "topics": [
        "loghaz"
      ]
    },
    {
      "page": "parametric",
      "title": "Fully Parametric Survival Model",
      "topics": [
        "parametric"
      ]
    },
    {
      "page": "pchazard",
      "title": "PC-Hazard Survival Neural Network",
      "topics": [
        "pchazard"
      ]
    },
    {
      "page": "predict.akritas",
      "title": "Predict method for Akritas Estimator",
      "topics": [
        "predict.akritas"
      ]
    },
    {
      "page": "predict.dnnsurv",
      "title": "Predict Method for DNNSurv",
      "topics": [
        "predict.dnnsurv"
      ]
    },
    {
      "page": "predict.parametric",
      "title": "Predict method for Parametric Model",
      "topics": [
        "predict.parametric"
      ]
    },
    {
      "page": "predict.pycox",
      "title": "Predict Method for pycox Neural Networks",
      "topics": [
        "predict.pycox"
      ]
    },
    {
      "page": "pycox_prepare_train_data",
      "title": "Prepare Data for Pycox Model Training",
      "topics": [
        "pycox_prepare_train_data"
      ]
    },
    {
      "page": "requireNamespaces",
      "title": "Vectorised Logical requireNamespace",
      "topics": [
        "requireNamespaces"
      ]
    },
    {
      "page": "set_seed",
      "title": "Set seed in R numpy and torch",
      "topics": [
        "set_seed"
      ]
    },
    {
      "page": "simsurvdata",
      "title": "Simulate Survival Data",
      "topics": [
        "simsurvdata"
      ]
    },
    {
      "page": "surv_to_risk",
      "title": "Safely convert a survival matrix prediction to a relative risk",
      "topics": [
        "surv_to_risk"
      ]
    }
  ],
  "_readme": "https://github.com/RaphaelS1/survivalmodels/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 4.6097011023793995,
  "_indexed": false,
  "_nocasepkg": "survivalmodels",
  "_universes": [
    "raphaels1"
  ],
  "_indexurl": "https://foucher-y.r-universe.dev/survivalmodels",
  "_binaries": [
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.19",
      "date": "2026-04-14T05:32:36.000Z",
      "arch": "x86_64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "f16efd53df057ed8562a6e8d2e2bdd2832c0b296538ca581a0a8cf2a19839d4c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/24382572238"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.19",
      "date": "2026-05-14T06:14:55.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "e51c01fddf6760c36d71d7ad216d03ea176f2e09d430ebe17c896e3dcfcc0bca",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/25844859694"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.19",
      "date": "2026-05-14T06:14:29.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "fe8f9f646275360abfaf271d5b5751de37ff124cc0950a47e061009610962019",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/25844859694"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.19",
      "date": "2026-05-14T06:14:43.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "557e3a5a662e4680ee9c7007073fa962cca10a41b7751199c516e3be4aa4480e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/25844859694"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.19",
      "date": "2026-05-14T06:14:46.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "288df37c76cfc93420c77a62045a0f37a6170e60598132ff90978057e96fe622",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/25844859694"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.19",
      "date": "2026-05-14T06:14:11.000Z",
      "arch": "aarch64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "055ff8e4b2b9b9ea20f2fece97c65d1712fa1a1be522d158410c00092a912f34",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/25844859694"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.19",
      "date": "2026-05-14T06:15:07.000Z",
      "arch": "x86_64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "687df25076e0568e3e412ea30e54a73ef05d90f5ebeb95912bb07788cadc15c5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/25844859694"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.19",
      "date": "2026-05-14T06:14:11.000Z",
      "arch": "aarch64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "439d7dbfd052d8ee721e4e6c575f7287e4fd37dfa0bf4df3a48ba0674aa0661c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/25844859694"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.19",
      "date": "2026-05-14T06:15:17.000Z",
      "arch": "x86_64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "20f5b7cfbc43c81af28b3a0fccf91cb95c846514d8995a44e8bb5a04ce572293",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/25844859694"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.19",
      "date": "2026-05-14T06:13:42.000Z",
      "arch": "x86_64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "07e2c8032f37e3774726cac394e409624214d39a4ece1689fb48dd5261037c36",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/25844859694"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.19",
      "date": "2026-05-14T06:13:46.000Z",
      "arch": "x86_64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "8677cdb96c813ecd7c8c718d48f2590d2d8c277927a7f9b49ed89fa039e490ea",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/25844859694"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.19",
      "date": "2026-05-22T09:22:28.000Z",
      "arch": "emscripten",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "a626fbfcaace12ddf4ea581ea8bb46bd4272dbe5a403a68e9ab5a4f72eb88bdd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/25844859694"
    }
  ]
}