{
  "_id": "6acb5ff6fe5cc25786e8ef32",
  "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-10-11 09:42:28 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>",
  "_user": "raphaels1",
  "_type": "src",
  "_file": "survivalmodels_0.1.19.tar.gz",
  "_fileid": "https://r2.ropensci.org/3c69238cbfc12691e22546eef8e3e898e8962c64a4b5b7b0b6517d3a2ef61196",
  "_filesize": 283931,
  "_sha256": "3c69238cbfc12691e22546eef8e3e898e8962c64a4b5b7b0b6517d3a2ef61196",
  "_expires": "2027-01-19T10:07:48.000Z",
  "_created": "2026-10-11T09:42:28.000Z",
  "_published": "2026-10-11T10:07:50.115Z",
  "_buildurl": "https://github.com/r-universe/raphaels1/actions/runs/38129046255",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114440270259,
      "time": 115,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11698652219"
    },
    {
      "job": 114440270311,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11699051657"
    },
    {
      "job": 114440270316,
      "time": 161,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11698622297"
    },
    {
      "job": 114440270336,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11698017008"
    },
    {
      "job": 114440270289,
      "time": 122,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11699083879"
    },
    {
      "job": 114440270310,
      "time": 306,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11698942614"
    },
    {
      "job": 114440270254,
      "time": 107,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11698159902"
    },
    {
      "job": 114440270325,
      "time": 190,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11698812688"
    },
    {
      "job": 114439429291,
      "time": 290,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11698367474"
    },
    {
      "job": 114440270220,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11698771106"
    },
    {
      "job": 114440270428,
      "time": 375,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11698092113"
    },
    {
      "job": 114440270317,
      "time": 220,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11698381729"
    },
    {
      "job": 114440270348,
      "time": 168,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11698592195"
    },
    {
      "job": 114440270343,
      "time": 377,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11698812571"
    },
    {
      "job": 114440270324,
      "time": 144,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11699021001"
    }
  ],
  "_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",
    "description": "CEO/Founder of OSPO Now. Freelance AI consultant specialising in public and third sector. Coding less than I used to.",
    "uuid": 25639974,
    "orcid": "0000-0001-9225-4654"
  },
  "_distro": "resolute",
  "_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": 58,
  "_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",
    "followers": 84,
    "description": "CEO/Founder of OSPO Now. Freelance AI consultant specialising in public and third sector. Coding less than I used to."
  },
  "_downloads": {
    "count": 411,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/survivalmodels"
  },
  "_devurl": "https://github.com/raphaels1/survivalmodels",
  "_searchresults": 76,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/survivalmodels.html",
    "LICENSE"
  ],
  "_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": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 4.644241585843729,
  "_indexed": false,
  "_nocasepkg": "survivalmodels",
  "_universes": [
    "raphaels1"
  ],
  "_indexurl": "https://foucher-y.r-universe.dev/survivalmodels",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.19",
      "date": "2026-10-11T09:44:17.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "https://r2.ropensci.org/1b319f5292d3cdea5d33466abadc7f8db36a16cf5b556119f80469b6125673e2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/38129046255"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.19",
      "date": "2026-10-11T09:44:22.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "https://r2.ropensci.org/e0df4a70b2db84b5280d71613c02719a72ee6e55a8e12005ac3182fb977971ef",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/38129046255"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.19",
      "date": "2026-10-11T09:45:02.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "https://r2.ropensci.org/5e8cfcb4912c605b59a14742bbcffbd329c53c24623b5b1c07457c3797a82a11",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/38129046255"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.19",
      "date": "2026-10-11T09:44:35.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "https://r2.ropensci.org/dfbfb76764be8e53c9b0740783194d2c1728c2eac64ea77c3c81707e88579959",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/38129046255"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.19",
      "date": "2026-10-11T10:06:41.000Z",
      "arch": "aarch64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "https://r2.ropensci.org/6c7661249f5cb6fee384ac6a1804aadfe158bf83a078c4c44cb0b048df072915",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/38129046255"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.19",
      "date": "2026-10-11T09:49:26.000Z",
      "arch": "x86_64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "https://r2.ropensci.org/f59a4813d81577da3d41faf2530551c1ed5a9631ce8a60c082e747aca1b22e32",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/38129046255"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.19",
      "date": "2026-10-11T10:02:54.000Z",
      "arch": "aarch64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "https://r2.ropensci.org/d8b5c61eefd78fa1a332a50386e260d3c76873817cc48f96b774b056e725ff64",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/38129046255"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.19",
      "date": "2026-10-11T09:49:17.000Z",
      "arch": "x86_64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "https://r2.ropensci.org/e1874e28b23f54210024e9f08e4c1c197037256aa3ab1799ee57c03433f0b072",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/38129046255"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.19",
      "date": "2026-10-11T09:44:29.000Z",
      "arch": "emscripten",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "https://r2.ropensci.org/23846425c49c5446e31baa1d37b233cb1bc84cca2e67757a401b3fbc67fda63c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/38129046255"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.19",
      "date": "2026-10-11T09:47:24.000Z",
      "arch": "aarch64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "https://r2.ropensci.org/56ffa440ac8a9696f462a6a4305ac4f2e2d5956d4c4ec3b5788f44249988c07c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/38129046255"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.19",
      "date": "2026-10-11T09:43:56.000Z",
      "arch": "x86_64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "https://r2.ropensci.org/c060bfb08d1349a94e0140df4c579b90241043d6adc7bbd39376934fa77cd28a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/38129046255"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.19",
      "date": "2026-10-11T09:43:48.000Z",
      "arch": "x86_64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "https://r2.ropensci.org/87ab0b2c0852d658f6f4aa1969d64525a367942c287404e56f813f042b71eb88",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/38129046255"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.19",
      "date": "2026-10-11T09:47:24.000Z",
      "arch": "aarch64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "https://r2.ropensci.org/9e89b4bfa4484b9cb45db36855eb5e28d5b041b8dfd2e1e4368cff1e4b25dc65",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/38129046255"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.19",
      "date": "2026-10-11T09:43:56.000Z",
      "arch": "x86_64",
      "commit": "e7af58c7d8aec9f253bfed9f3814308ba2952e43",
      "fileid": "https://r2.ropensci.org/4e20247cda126d78049e9eb598dee17e6b02631bf84694f41c85ee94d546013b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/raphaels1/actions/runs/38129046255"
    }
  ]
}