{
  "_id": "6a105e19acfb0bcc41ca552c",
  "Package": "survHE",
  "Title": "Survival Analysis in Health Economic Evaluation",
  "Version": "2.0.52",
  "Authors@R": "c(\nperson(given = \"Gianluca\",family = \"Baio\",role = c(\"aut\", \"cre\"),email = \"g.baio@ucl.ac.uk\"),\nperson(\"Andrea\",\"Berardi\",role=\"ctb\",email=\"and.be.like@gmail.com\"),\nperson(\"Philip\",\"Cooney\",role=\"ctb\",email=\"philip.cooney@hotmail.com\"),\nperson(\"Andrew\",\"Jones\",role=\"ctb\",email=\"andrew.r.johnson@postgrad.curtin.edu.au\"),\nperson(\"Nathan\",\"Green\",role=\"ctb\",email=\"n.green@ucl.ac.uk\"))",
  "URL": "https://github.com/giabaio/survHE,\nhttps://gianluca.statistica.it/software/survhe/",
  "BugReports": "https://github.com/giabaio/survHE/issues",
  "Description": "Contains a suite of functions for survival analysis in\nhealth economics. These can be used to run survival models\nunder a frequentist (based on maximum likelihood) or a Bayesian\napproach (both based on Integrated Nested Laplace Approximation\nor Hamiltonian Monte Carlo). To run the Bayesian models, the\nuser needs to install additional modules (packages), i.e.\n'survHEinla' and 'survHEhmc'. These can be installed from\n<https://giabaio.r-universe.dev/> using\n'install.packages(\"survHEhmc\", repos =\nc(\"https://giabaio.r-universe.dev\",\n\"https://cloud.r-project.org\"))' and\n'install.packages(\"survHEinla\", repos =\nc(\"https://giabaio.r-universe.dev\",\n\"https://cloud.r-project.org\"))' respectively. 'survHEinla' is\nbased on the package INLA, which is available for download at\n<https://inla.r-inla-download.org/R/stable/>. The user can\nspecify a set of parametric models using a common notation and\nselect the preferred mode of inference. The results can also be\npost-processed to produce probabilistic sensitivity analysis\nand can be used to export the output to an Excel file (e.g. for\na Markov model, as often done by modellers and practitioners).\n<doi:10.18637/jss.v095.i14>.",
  "License": "GPL (>=3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "Biarch": "true",
  "Config/testthat/edition": "3",
  "Additional_repositories": "https://inla.r-inla-download.org/R/stable/,\nhttps://giabaio.r-universe.dev/",
  "SystemRequirements": "GNU make",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "cmake make default-jdk libicu-dev libuv1-dev",
  "Repository": "https://giabaio.r-universe.dev",
  "Date/Publication": "2026-05-08 10:08:10 UTC",
  "RemoteUrl": "https://github.com/giabaio/survHE",
  "RemoteRef": "HEAD",
  "RemoteSha": "2a9d358ea912e7b8cc31dd5eea856dcc0841e18f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-08 11:39:53 UTC",
    "User": "root"
  },
  "Author": "Gianluca Baio [aut, cre],\nAndrea Berardi [ctb],\nPhilip Cooney [ctb],\nAndrew Jones [ctb],\nNathan Green [ctb]",
  "Maintainer": "Gianluca Baio <g.baio@ucl.ac.uk>",
  "MD5sum": "e73880e9d60680357a116edb1a7136f4",
  "_user": "giabaio",
  "_type": "src",
  "_file": "survHE_2.0.52.tar.gz",
  "_fileid": "e12ec61d8ba1ce9c2d55a6ac8581b8ee7496b454bdd2c9150581a0cd81e63bb9",
  "_filesize": 318586,
  "_sha256": "e12ec61d8ba1ce9c2d55a6ac8581b8ee7496b454bdd2c9150581a0cd81e63bb9",
  "_created": "2026-05-08T11:39:53.000Z",
  "_published": "2026-05-22T13:46:01.643Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77392099907,
      "time": 292,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6878360572"
    },
    {
      "job": 77392099936,
      "time": 262,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6878352005"
    },
    {
      "job": 77392100244,
      "time": 177,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6878327674"
    },
    {
      "job": 77392099916,
      "time": 174,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6878327002"
    },
    {
      "job": 77392099813,
      "time": 277,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6878280131"
    },
    {
      "job": 77392099401,
      "time": 171,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7162028469"
    },
    {
      "job": 77392099809,
      "time": 297,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6878360491"
    },
    {
      "job": 77392100308,
      "time": 199,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6878333746"
    },
    {
      "job": 77392100290,
      "time": 204,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6878335075"
    }
  ],
  "_buildurl": "https://github.com/r-universe/giabaio/actions/runs/25553364392",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/giabaio/survHE",
  "_commit": {
    "id": "2a9d358ea912e7b8cc31dd5eea856dcc0841e18f",
    "author": "Gianluca Baio <g.baio@ucl.ac.uk>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #64 from giabaio/add-gamma-inla\n\nImplements the support for the INLA Gamma model",
    "time": 1778234890
  },
  "_maintainer": {
    "name": "Gianluca Baio",
    "email": "g.baio@ucl.ac.uk",
    "login": "giabaio",
    "mastodon": "@gianlubaio@mas.to",
    "twitter": "@gianlubaio",
    "uuid": 8723145
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "flexsurv",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Depends"
    },
    {
      "package": "rms",
      "role": "Imports"
    },
    {
      "package": "xlsx",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "survHEinla",
      "role": "Suggests"
    },
    {
      "package": "survHEhmc",
      "role": "Suggests"
    },
    {
      "package": "INLA",
      "role": "Suggests"
    },
    {
      "package": "rstan",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "giabaio",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [
    {
      "week": "2025-20",
      "n": 2
    },
    {
      "week": "2025-24",
      "n": 2
    },
    {
      "week": "2025-28",
      "n": 9
    },
    {
      "week": "2026-03",
      "n": 4
    },
    {
      "week": "2026-11",
      "n": 2
    },
    {
      "week": "2026-19",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "2.0.4",
      "date": "2025-05-15"
    },
    {
      "name": "v2.0-5",
      "date": "2025-06-12"
    },
    {
      "name": "2.0.51",
      "date": "2026-01-15"
    }
  ],
  "_topics": [
    "frequentist",
    "hamiltonian-monte-carlo",
    "health-economic-evaluation",
    "inla",
    "plotting-survival-curves",
    "rstan",
    "survival-analysis",
    "survival-models",
    "uncertainty",
    "openjdk"
  ],
  "_stars": 47,
  "_contributors": [
    {
      "user": "giabaio",
      "count": 248,
      "uuid": 8723145
    },
    {
      "user": "lemna",
      "count": 19,
      "uuid": 3797294
    },
    {
      "user": "andreaberardi",
      "count": 6,
      "uuid": 43879204
    },
    {
      "user": "n8thangreen",
      "count": 5,
      "uuid": 3061918
    },
    {
      "user": "bgoodri",
      "count": 1,
      "uuid": 3386282
    },
    {
      "user": "davisvaughan",
      "count": 1,
      "uuid": 19150088
    },
    {
      "user": "andbe",
      "count": 1,
      "uuid": 817361
    }
  ],
  "_userbio": {
    "uuid": 8723145,
    "type": "user",
    "name": "Gianluca Baio",
    "description": "I'm a professor of Statistics & Health Economics and the head of department @stats-ucl. I work on Bayesian stats (with applications to @r-hta and @convoigroup)"
  },
  "_downloads": {
    "count": 819,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/survHE"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/giabaio/survhe",
  "_searchresults": 89,
  "_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/survHE.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/giabaio/survhe",
  "_realowner": "giabaio",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.4",
      "date": "2017-06-29"
    },
    {
      "version": "1.0.5",
      "date": "2017-07-02"
    },
    {
      "version": "1.0.6",
      "date": "2017-07-08"
    },
    {
      "version": "1.0.64",
      "date": "2018-10-19"
    },
    {
      "version": "1.0.65",
      "date": "2018-11-09"
    },
    {
      "version": "1.1",
      "date": "2020-08-07"
    },
    {
      "version": "1.1.1",
      "date": "2020-10-07"
    },
    {
      "version": "1.1.2",
      "date": "2021-02-09"
    },
    {
      "version": "2.0.1",
      "date": "2023-03-19"
    },
    {
      "version": "2.0.2",
      "date": "2024-10-04"
    },
    {
      "version": "2.0.3",
      "date": "2025-03-03"
    },
    {
      "version": "2.0.4",
      "date": "2025-05-15"
    },
    {
      "version": "2.0.5",
      "date": "2025-06-12"
    },
    {
      "version": "2.0.51",
      "date": "2026-01-15"
    }
  ],
  "_exports": [
    "digitise",
    "fit.models",
    "make_data_multi_state",
    "make_newdata",
    "make.ipd",
    "make.surv",
    "make.transition.probs",
    "markov_trace",
    "model.fit.plot",
    "plot_transformed_km",
    "plot.survHE",
    "print.survHE",
    "psa.plot",
    "summary.survHE",
    "theme_survHE",
    "three_state_mm",
    "write.surv"
  ],
  "_datasets": [
    {
      "name": "data",
      "title": "A fictional survival trial.",
      "object": "survtrial",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID_patient",
        "time",
        "censored",
        "arm",
        "sex",
        "age",
        "imd",
        "ethnic"
      ],
      "rows": 367,
      "table": true,
      "tojson": true
    },
    {
      "name": "msmdata",
      "title": "NICE TA174 dataset in multi-state format.",
      "object": "msmdata",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "from",
        "to",
        "trans",
        "Tstart",
        "Tstop",
        "time",
        "status",
        "treat",
        "patid",
        "prog",
        "death",
        "prog_t",
        "death_t",
        "prog_ty",
        "death_ty"
      ],
      "rows": 1868,
      "table": true,
      "tojson": true
    },
    {
      "name": "ta174",
      "title": "NICE TA174 dataset.",
      "object": "TA174",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "patid",
        "treat",
        "prog",
        "death",
        "prog_t",
        "death_t",
        "prog_ty",
        "death_ty"
      ],
      "rows": 810,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "data",
      "title": "A fictional survival trial.",
      "topics": [
        "data"
      ]
    },
    {
      "page": "digitise",
      "title": "Format digitised data for use in survival analysis",
      "topics": [
        "digitise"
      ]
    },
    {
      "page": "fit.models",
      "title": "Fit parametric survival analysis for health economic evaluations",
      "topics": [
        "fit.models"
      ]
    },
    {
      "page": "make_data_multi_state",
      "title": "make_data_multi_state",
      "topics": [
        "make_data_multi_state"
      ]
    },
    {
      "page": "make_newdata",
      "title": "Creates a 'newdata' list to modify the plots for specific individual profiles (with respect to the covariates)",
      "topics": [
        "make_newdata"
      ]
    },
    {
      "page": "make.ipd",
      "title": "Create an individual level dataset from digitised data",
      "topics": [
        "make.ipd"
      ]
    },
    {
      "page": "make.surv",
      "title": "Engine for Probabilistic Sensitivity Analysis on the survival curves",
      "topics": [
        "make.surv"
      ]
    },
    {
      "page": "make.transition.probs",
      "title": "make.transition.probs",
      "topics": [
        "make.transition.probs"
      ]
    },
    {
      "page": "markov_trace",
      "title": "Markov trace",
      "topics": [
        "markov_trace"
      ]
    },
    {
      "page": "model.fit.plot",
      "title": "Graphical representation of the measures of model fitting based on Information Criteria",
      "topics": [
        "model.fit.plot"
      ]
    },
    {
      "page": "msmdata",
      "title": "NICE TA174 dataset in multi-state format.",
      "topics": [
        "msmdata"
      ]
    },
    {
      "page": "plot_transformed_km",
      "title": "Plot to assess suitability of parametric model",
      "topics": [
        "plot_transformed_km"
      ]
    },
    {
      "page": "plot.survHE",
      "title": "Plot survival curves for the models fitted using 'fit.models'",
      "topics": [
        "plot.survHE"
      ]
    },
    {
      "page": "print.survHE",
      "title": "Print a summary of the survival model(s) fitted by 'fit.models'",
      "topics": [
        "print.survHE"
      ]
    },
    {
      "page": "psa.plot",
      "title": "Graphical depiction of the probabilistic sensitivity analysis for the survival curves",
      "topics": [
        "psa.plot"
      ]
    },
    {
      "page": "summary.survHE",
      "title": "Prints a summary table for the distribution the mean survival time for a given model and data",
      "topics": [
        "summary.survHE"
      ]
    },
    {
      "page": "ta174",
      "title": "NICE TA174 dataset.",
      "topics": [
        "ta174"
      ]
    },
    {
      "page": "theme_survHE",
      "title": "A Custom ggplot2 Theme for Survival Plots",
      "topics": [
        "theme_survHE"
      ]
    },
    {
      "page": "three_state_mm",
      "title": "three_state_mm",
      "topics": [
        "three_state_mm"
      ]
    },
    {
      "page": "write.surv",
      "title": "write.surv",
      "topics": [
        "write.surv"
      ]
    }
  ],
  "_readme": "https://github.com/giabaio/survHE/raw/HEAD/README.md",
  "_rundeps": [
    "assertthat",
    "backports",
    "base64enc",
    "bbmle",
    "bdsmatrix",
    "bslib",
    "cachem",
    "checkmate",
    "cli",
    "cluster",
    "codetools",
    "colorspace",
    "cpp11",
    "data.table",
    "deSolve",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastGHQuad",
    "fastmap",
    "flexsurv",
    "fontawesome",
    "foreign",
    "Formula",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "lsoda",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "memoise",
    "mgcv",
    "mime",
    "mstate",
    "muhaz",
    "multcomp",
    "mvtnorm",
    "nlme",
    "nnet",
    "numDeriv",
    "pillar",
    "pkgconfig",
    "polspline",
    "purrr",
    "quadprog",
    "quantreg",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rJava",
    "rlang",
    "rmarkdown",
    "rms",
    "rpart",
    "rstpm2",
    "rstudioapi",
    "S7",
    "sandwich",
    "sass",
    "scales",
    "SparseM",
    "statmod",
    "stringi",
    "stringr",
    "survival",
    "TH.data",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xlsx",
    "xlsxjars",
    "yaml",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "libjvm",
      "package": "openjdk-21-jre-headless",
      "headers": "openjdk-21-jre-headless",
      "source": "openjdk",
      "version": "21.0.10+7-1~24.04",
      "name": "openjdk",
      "homepage": "https://openjdk.java.net/",
      "description": "OpenJDK Java runtime, using Hotspot JIT (headless)"
    }
  ],
  "_score": 8.132032874787242,
  "_indexed": true,
  "_nocasepkg": "survhe",
  "_universes": [
    "giabaio"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.52",
      "date": "2026-05-08T11:43:50.000Z",
      "distro": "noble",
      "commit": "2a9d358ea912e7b8cc31dd5eea856dcc0841e18f",
      "fileid": "6528c9df31a5ece363a7dd83ff64a9705db755e28e9f8f5d09547326c97bd3ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/25553364392"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.52",
      "date": "2026-05-08T11:43:33.000Z",
      "distro": "noble",
      "commit": "2a9d358ea912e7b8cc31dd5eea856dcc0841e18f",
      "fileid": "03fdb75e89855bf5eb9b591d8c28bc742480ef45f82750511eb944b00b7e140a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/25553364392"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.52",
      "date": "2026-05-08T11:42:01.000Z",
      "commit": "2a9d358ea912e7b8cc31dd5eea856dcc0841e18f",
      "fileid": "5c49c607537a2588639b4c8a23373efd01972fe9471288ee205dc87ce86333c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/25553364392"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.52",
      "date": "2026-05-08T11:42:04.000Z",
      "commit": "2a9d358ea912e7b8cc31dd5eea856dcc0841e18f",
      "fileid": "00b3e7925fa9972c498e15f39ece63cf01c5e5ce21c44fd5a75e3864598cfae4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/25553364392"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.52",
      "date": "2026-05-08T11:43:57.000Z",
      "commit": "2a9d358ea912e7b8cc31dd5eea856dcc0841e18f",
      "fileid": "47d0965f3de516c5d10f2f12db03b0ca912b3248424c1b4d46cacc2cb998ea72",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/25553364392"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.52",
      "date": "2026-05-08T11:41:59.000Z",
      "commit": "2a9d358ea912e7b8cc31dd5eea856dcc0841e18f",
      "fileid": "1d1635f518b308f1c23971f8e80c1a847a27082a2f7d21484bb2cb90c1f41a2e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/25553364392"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.0.52",
      "date": "2026-05-08T11:41:58.000Z",
      "commit": "2a9d358ea912e7b8cc31dd5eea856dcc0841e18f",
      "fileid": "678b460bfe6a4053b07669268743844463137556e47a5526965d87fba26044c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/25553364392"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.52",
      "date": "2026-05-22T13:45:45.000Z",
      "commit": "2a9d358ea912e7b8cc31dd5eea856dcc0841e18f",
      "fileid": "33635ce98eaa9b939b3bf8d12a7ca44009b4197fadc86b55a6ba408302b1dbc2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/25553364392"
    }
  ]
}