{
  "_id": "6a1066d9acfb0bcc41ca8ffd",
  "Package": "BayesSurvival",
  "Type": "Package",
  "Title": "Bayesian Survival Analysis for Right Censored Data",
  "Version": "0.2.0",
  "Author": "Stephanie van der Pas [aut, cre], Ismael Castillo [aut]",
  "Maintainer": "Stephanie van der Pas <s.l.vanderpas@amsterdamumc.nl>",
  "Description": "Performs unadjusted Bayesian survival analysis for right\ncensored time-to-event data. The main function, BayesSurv(),\ncomputes the posterior mean and a credible band for the\nsurvival function and for the cumulative hazard, as well as the\nposterior mean for the hazard, starting from a piecewise\nexponential (histogram) prior with Gamma distributed heights\nthat are either independent, or have a Markovian dependence\nstructure. A function, PlotBayesSurv(), is provided to easily\ncreate plots of the posterior means of the hazard, cumulative\nhazard and survival function, with a credible band accompanying\nthe latter two. The priors and samplers are described in more\ndetail in Castillo and Van der Pas (2020) \"Multiscale Bayesian\nsurvival analysis\" <arXiv:2005.02889>. In that paper it is also\nshown that the credible bands for the survival function and the\ncumulative hazard can be considered confidence bands (under\nmild conditions) and thus offer reliable uncertainty\nquantification.",
  "Encoding": "UTF-8",
  "License": "GPL-3",
  "RoxygenNote": "7.1.0",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-08 05:50:16 UTC",
    "User": "root"
  },
  "Repository": "https://svdpas.r-universe.dev",
  "Date/Publication": "2021-03-12 20:00:13 UTC",
  "RemoteUrl": "https://github.com/cran/BayesSurvival",
  "RemoteRef": "HEAD",
  "RemoteSha": "0c88791b4bba979887578266b9a0b2d6519fcb0c",
  "MD5sum": "8b4c493c308e77344cfe6ccd9f1110d2",
  "_user": "svdpas",
  "_type": "src",
  "_file": "BayesSurvival_0.2.0.tar.gz",
  "_fileid": "12d3b18b3ffa942a50984961b6d6e759672b37c40893e94652dd36ab5c0b6a5a",
  "_filesize": 696603,
  "_sha256": "12d3b18b3ffa942a50984961b6d6e759672b37c40893e94652dd36ab5c0b6a5a",
  "_created": "2026-05-08T05:50:16.000Z",
  "_published": "2026-05-22T14:23:21.621Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77398996252,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6872752597"
    },
    {
      "job": 77398996139,
      "time": 152,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6872752036"
    },
    {
      "job": 77398996369,
      "time": 98,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6872740973"
    },
    {
      "job": 77398996049,
      "time": 98,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6872740957"
    },
    {
      "job": 77398995767,
      "time": 152,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6872720001"
    },
    {
      "job": 77398995339,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7162841323"
    },
    {
      "job": 77398995939,
      "time": 111,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6872744667"
    },
    {
      "job": 77398996411,
      "time": 101,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6872742715"
    },
    {
      "job": 77398996465,
      "time": 98,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6872741123"
    }
  ],
  "_buildurl": "https://github.com/r-universe/svdpas/actions/runs/25539284373",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/BayesSurvival",
  "_commit": {
    "id": "0c88791b4bba979887578266b9a0b2d6519fcb0c",
    "author": "Stephanie van der Pas <s.l.vanderpas@amsterdamumc.nl>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.0\n",
    "time": 1615579213
  },
  "_maintainer": {
    "name": "Stephanie van der Pas",
    "email": "s.l.vanderpas@amsterdamumc.nl",
    "login": "svdpas",
    "twitter": "@stephanievdpas",
    "uuid": 56960010
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "simsurv",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "svdpas",
      "count": 2,
      "uuid": 56960010
    }
  ],
  "_userbio": {
    "uuid": 56960010,
    "type": "user",
    "name": "Stéphanie van der Pas"
  },
  "_downloads": {
    "count": 280,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BayesSurvival"
  },
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/BayesSurvival.html",
    "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",
    "manual.pdf"
  ],
  "_realowner": "svdpas",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-05-08"
    },
    {
      "version": "0.2.0",
      "date": "2021-03-12"
    }
  ],
  "_exports": [
    "BayesSurv",
    "CumhazEval",
    "MCMCDepGammaFirst",
    "MCMCDepGammaIntermediate",
    "PlotBayesSurv",
    "RadiusCredibleSet",
    "ReshapeData",
    "SamplePosteriorDepGamma",
    "SamplePosteriorIndepGamma",
    "SurvEval",
    "SurvivalFromCumhaz"
  ],
  "_help": [
    {
      "page": "BayesSurv",
      "title": "Compute the posterior mean and a credible band for the survival and cumulative hazard, and the posterior mean for the hazard.",
      "topics": [
        "BayesSurv"
      ]
    },
    {
      "page": "CumhazEval",
      "title": "Evaluate whether a true cumulative hazard function is contained in the credible set.",
      "topics": [
        "CumhazEval"
      ]
    },
    {
      "page": "MCMCDepGammaFirst",
      "title": "Sampler for the first interval for the piecewise exponential prior with dependent Gamma heights.",
      "topics": [
        "MCMCDepGammaFirst"
      ]
    },
    {
      "page": "MCMCDepGammaIntermediate",
      "title": "Sampler for the intermediate intervals for the piecewise exponential prior with dependent Gamma heights.",
      "topics": [
        "MCMCDepGammaIntermediate"
      ]
    },
    {
      "page": "PlotBayesSurv",
      "title": "Plot the posterior mean with credible band for the survival function or cumulative hazard, or the posterior mean for the hazard",
      "topics": [
        "PlotBayesSurv"
      ]
    },
    {
      "page": "RadiusCredibleSet",
      "title": "Computes the radius of a fixed width credible set for the survival or the cumulative hazard",
      "topics": [
        "RadiusCredibleSet"
      ]
    },
    {
      "page": "ReshapeData",
      "title": "Reshape right censored data to be used with a piecewise exponential prior.",
      "topics": [
        "ReshapeData"
      ]
    },
    {
      "page": "SamplePosteriorDepGamma",
      "title": "Draw samples from the posterior for the hazard, using the piecewise exponential (histogram) prior with dependent Gamma heights",
      "topics": [
        "SamplePosteriorDepGamma"
      ]
    },
    {
      "page": "SamplePosteriorIndepGamma",
      "title": "Draw samples from the posterior for the hazard, using the piecewise exponential (histogram) prior with independent Gamma heights",
      "topics": [
        "SamplePosteriorIndepGamma"
      ]
    },
    {
      "page": "SurvEval",
      "title": "Evaluate whether a true survival function is contained in the credible set.",
      "topics": [
        "SurvEval"
      ]
    },
    {
      "page": "SurvivalFromCumhaz",
      "title": "Transform posterior draws from the cumulative hazard into posterior draws from the survival.",
      "topics": [
        "SurvivalFromCumhaz"
      ]
    }
  ],
  "_readme": "https://github.com/cran/BayesSurvival/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "Matrix",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "survival",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "VignetteBayesSurvival.Rmd",
      "filename": "VignetteBayesSurvival.html",
      "title": "Introduction to package BayesSurvival",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Details about the priors",
        "1.1 Dependent Gamma prior",
        "1.2 Independent Gamma prior",
        "2. Example data analysis with the dependent Gamma prior",
        "3. Example data analysis with the independent Gamma prior"
      ],
      "created": "2021-03-12 20:00:13",
      "modified": "2021-03-12 20:00:13",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "bayessurvival",
  "_universes": [
    "svdpas"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-08T05:52:25.000Z",
      "distro": "noble",
      "commit": "0c88791b4bba979887578266b9a0b2d6519fcb0c",
      "fileid": "e929d54079742fe6da7592635b56f7143c9c019ffeb768ba9e2895c52046ea1a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/svdpas/actions/runs/25539284373"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-08T05:52:20.000Z",
      "distro": "noble",
      "commit": "0c88791b4bba979887578266b9a0b2d6519fcb0c",
      "fileid": "bb59891c28e2d26a01869f68842721d26ba73abb96cced47b85c9923d8c4dc57",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/svdpas/actions/runs/25539284373"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-08T05:51:41.000Z",
      "commit": "0c88791b4bba979887578266b9a0b2d6519fcb0c",
      "fileid": "41e3c112830ffa6cddf61ca7d758aecc067aea3644cfea538ddeee4bb13bfa28",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/svdpas/actions/runs/25539284373"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-08T05:51:43.000Z",
      "commit": "0c88791b4bba979887578266b9a0b2d6519fcb0c",
      "fileid": "137e50446f330e746cc1d6fd8a107ad49c012e4b303cbbe6463ef744ef32bdfd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/svdpas/actions/runs/25539284373"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-08T05:51:40.000Z",
      "commit": "0c88791b4bba979887578266b9a0b2d6519fcb0c",
      "fileid": "f32b611f1b456f656e111687680d1c793f5764987b97be23a9aee35dfce0fe44",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/svdpas/actions/runs/25539284373"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-08T05:51:31.000Z",
      "commit": "0c88791b4bba979887578266b9a0b2d6519fcb0c",
      "fileid": "d9f22059d327483a298fbc18f43fb92e528e312244d701bd6a6bf2f151809a37",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/svdpas/actions/runs/25539284373"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-08T05:51:28.000Z",
      "commit": "0c88791b4bba979887578266b9a0b2d6519fcb0c",
      "fileid": "333456036b2040e5e77d438adf8860f1617d5231cbb5965c8faec2264ab7ee10",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/svdpas/actions/runs/25539284373"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-05-22T14:22:59.000Z",
      "commit": "0c88791b4bba979887578266b9a0b2d6519fcb0c",
      "fileid": "708a32e88a938b00a7d6dc68798a9513010fa4185517ccf7356392948f167eb6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/svdpas/actions/runs/25539284373"
    }
  ]
}