{
  "_id": "6ac379437d74fca524f99498",
  "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-10-05 10:13:25 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",
  "_user": "svdpas",
  "_type": "src",
  "_file": "BayesSurvival_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/30e2a98ef068297bc8af2a6b8ae5425653b6f99975a29512a9046fd75cb86141",
  "_filesize": 692250,
  "_sha256": "30e2a98ef068297bc8af2a6b8ae5425653b6f99975a29512a9046fd75cb86141",
  "_expires": "2027-01-13T10:17:37.000Z",
  "_created": "2026-10-05T10:13:25.000Z",
  "_published": "2026-10-05T10:17:39.480Z",
  "_jobs": [
    {
      "job": 111714738334,
      "time": 126,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11338147431"
    },
    {
      "job": 111714738321,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11337833200"
    },
    {
      "job": 111714738316,
      "time": 91,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11337807395"
    },
    {
      "job": 111714738272,
      "time": 163,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11338896711"
    },
    {
      "job": 111713567812,
      "time": 194,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11337683606"
    },
    {
      "job": 111714738335,
      "time": 85,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11337977079"
    },
    {
      "job": 111714738269,
      "time": 99,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11338496785"
    },
    {
      "job": 111714738240,
      "time": 115,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11337743480"
    },
    {
      "job": 111714738369,
      "time": 115,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11338855453"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/svdpas/actions/runs/37294820794",
  "_status": "success",
  "_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",
    "description": "",
    "uuid": 56960010
  },
  "_distro": "resolute",
  "_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",
    "followers": 1
  },
  "_downloads": {
    "count": 375,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BayesSurvival"
  },
  "_searchresults": 6,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/BayesSurvival.html",
    "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"
  ],
  "_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-10-05T10:15:26.000Z",
      "distro": "resolute",
      "commit": "0c88791b4bba979887578266b9a0b2d6519fcb0c",
      "fileid": "https://r2.ropensci.org/c406b34457a78259b7b554e89bd46031834823521c9b01626a4c04e750b5f6dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/svdpas/actions/runs/37294820794"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-05T10:15:21.000Z",
      "distro": "resolute",
      "commit": "0c88791b4bba979887578266b9a0b2d6519fcb0c",
      "fileid": "https://r2.ropensci.org/d84e9815f064d4ebe128400aefc63061a5bf0473b3a76ad32b669dd570b16e48",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/svdpas/actions/runs/37294820794"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-05T10:14:56.000Z",
      "commit": "0c88791b4bba979887578266b9a0b2d6519fcb0c",
      "fileid": "https://r2.ropensci.org/42f64361bd2f43748142d165534a19c1ce1307d0968d64b0c8f2d0b3092cf0e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/svdpas/actions/runs/37294820794"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-05T10:15:43.000Z",
      "commit": "0c88791b4bba979887578266b9a0b2d6519fcb0c",
      "fileid": "https://r2.ropensci.org/a8b0e3d6cda5ce298acc06e5ffa5b1e3f4c5da56f77d520dd7faa65780ca0904",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/svdpas/actions/runs/37294820794"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-05T10:15:10.000Z",
      "commit": "0c88791b4bba979887578266b9a0b2d6519fcb0c",
      "fileid": "https://r2.ropensci.org/4db25749959de18e1c7d6594fac98b375ea6cdba66f36e45f1f03ee9bcdac008",
      "status": "success",
      "buildurl": "https://github.com/r-universe/svdpas/actions/runs/37294820794"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-05T10:14:32.000Z",
      "commit": "0c88791b4bba979887578266b9a0b2d6519fcb0c",
      "fileid": "https://r2.ropensci.org/4615d6a000113404b6fb21caa9762283bce35df2b139cbb3a6e861a2114570ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/svdpas/actions/runs/37294820794"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-05T10:14:55.000Z",
      "commit": "0c88791b4bba979887578266b9a0b2d6519fcb0c",
      "fileid": "https://r2.ropensci.org/4b8ec72109f54f7cdf5ece5a35c413c5cce4c8a781435b6aa6d417aa57a1dea7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/svdpas/actions/runs/37294820794"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-05T10:14:54.000Z",
      "commit": "0c88791b4bba979887578266b9a0b2d6519fcb0c",
      "fileid": "https://r2.ropensci.org/2b2c790b837127c684319d229893220298ff81d08b87964daf8bacf769e3e3ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/svdpas/actions/runs/37294820794"
    }
  ]
}