{
  "_id": "6a1f01dfb401979e7341b13c",
  "Package": "BGPhazard",
  "Title": "Markov Beta and Gamma Processes for Modeling Hazard Rates",
  "Version": "2.1.1",
  "Author": "L. E. Nieto-Barajas, J. A. Garcia Bueno, E.A. Morones Ishikawa\nand J. Pliego",
  "Maintainer": "Emilio Akira Morones Ishikawa <emiliomorones@gmail.com>",
  "Description": "Computes the hazard rate estimate as described by\nNieto-Barajas & Walker (2002), Nieto-Barajas (2003),\nNieto-Barajas & Walker (2007) and Nieto-Barajas & Yin (2008).",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/EAMI91/BGPhazard",
  "BugReports": "https://github.com/EAMI91/BGPhazard/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "NeedsCompilation": "no",
  "RoxygenNote": "7.2.3",
  "Config/pak/sysreqs": "libicu-dev libx11-dev",
  "Repository": "https://eami91.r-universe.dev",
  "Date/Publication": "2023-09-01 21:41:21 UTC",
  "RemoteUrl": "https://github.com/eami91/bgphazard",
  "RemoteRef": "HEAD",
  "RemoteSha": "38b5da445787523d414ca114ff0c57c895e1f1f5",
  "Packaged": {
    "Date": "2026-05-18 08:32:15 UTC",
    "User": "root"
  },
  "MD5sum": "84396d55e73e4c94703b628b0e88dc51",
  "_user": "eami91",
  "_type": "src",
  "_file": "BGPhazard_2.1.1.tar.gz",
  "_fileid": "33ddc5e11437ebdc4dcc2dfe5df3f8630197c0764ddc3a600dc4dfcb3be486a0",
  "_filesize": 1121793,
  "_sha256": "33ddc5e11437ebdc4dcc2dfe5df3f8630197c0764ddc3a600dc4dfcb3be486a0",
  "_created": "2026-05-18T08:32:15.000Z",
  "_published": "2026-06-02T16:16:31.279Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79118184769,
      "time": 158,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7053065536"
    },
    {
      "job": 79118185240,
      "time": 153,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7053063932"
    },
    {
      "job": 79118185268,
      "time": 219,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7053071024"
    },
    {
      "job": 79118185097,
      "time": 202,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7053067973"
    },
    {
      "job": 79118184675,
      "time": 232,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7053011910"
    },
    {
      "job": 79118184061,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7363468727"
    },
    {
      "job": 79118184843,
      "time": 120,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7053053790"
    },
    {
      "job": 79118185358,
      "time": 95,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7053045355"
    },
    {
      "job": 79118186399,
      "time": 109,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7053049678"
    }
  ],
  "_buildurl": "https://github.com/r-universe/eami91/actions/runs/26022237030",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/eami91/bgphazard",
  "_commit": {
    "id": "38b5da445787523d414ca114ff0c57c895e1f1f5",
    "author": "EAMI91 <emiliomorones@gmail.com>",
    "committer": "EAMI91 <emiliomorones@gmail.com>",
    "message": "Introduction BGPhazard vignette solved\n",
    "time": 1693604481
  },
  "_maintainer": {
    "name": "Emilio Akira Morones Ishikawa",
    "email": "emiliomorones@gmail.com",
    "login": "eami91",
    "twitter": "@ichemi",
    "description": "",
    "uuid": 59519899
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Brobdingnag",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggthemes",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "progress",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "eami91",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "eami91",
      "count": 50,
      "uuid": 59519899
    },
    {
      "user": "josepliego",
      "count": 3,
      "uuid": 54335488
    }
  ],
  "_userbio": {
    "uuid": 59519899,
    "type": "user",
    "name": "EAMI91"
  },
  "_downloads": {
    "count": 311,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BGPhazard"
  },
  "_devurl": "https://github.com/eami91/bgphazard",
  "_searchresults": 21,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/BGPhazard.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/eami91/bgphazard",
  "_realowner": "eami91",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.9.0",
      "date": "2013-10-08"
    },
    {
      "version": "0.9.1",
      "date": "2013-10-17"
    },
    {
      "version": "0.9.2",
      "date": "2013-11-28"
    },
    {
      "version": "1.0",
      "date": "2014-04-08"
    },
    {
      "version": "1.1",
      "date": "2014-09-09"
    },
    {
      "version": "1.2.2",
      "date": "2015-03-17"
    },
    {
      "version": "1.2.3",
      "date": "2016-02-11"
    },
    {
      "version": "2.0.0",
      "date": "2020-01-13"
    },
    {
      "version": "2.0.1",
      "date": "2020-06-04"
    },
    {
      "version": "2.1.0",
      "date": "2021-01-17"
    },
    {
      "version": "2.1.1",
      "date": "2023-09-03"
    }
  ],
  "_exports": [
    "BeMRes",
    "BePlotDiag",
    "BePloth",
    "BSBHaz",
    "BSBInit",
    "BSBPlotDiag",
    "BSBPlotSumm",
    "BSBSumm",
    "CCuMRes",
    "CCuPlotDiag",
    "CCuPloth",
    "CGaMRes",
    "CGaPlotDiag",
    "CGaPloth",
    "cpo",
    "CuMRes",
    "CuPlotDiag",
    "CuPloth",
    "GaMRes",
    "GaPlotDiag",
    "GaPloth"
  ],
  "_datasets": [
    {
      "name": "BMTKleinbook",
      "title": "Times to death or relapse (in days) for patients with bone marrow transplants for Hodgkin and non-Hodgkin lymphoma",
      "object": "BMTKleinbook",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "times",
        "delta",
        "tTransplant",
        "hodgkin",
        "karnofsky",
        "waiting"
      ],
      "rows": 43,
      "table": true,
      "tojson": true
    },
    {
      "name": "crm3",
      "title": "Simulated data from the proportional hazards cure rate model of Yakolev & Tsodikov (1996) by taking a baseline density with a bounded support.",
      "object": "crm3",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "times",
        "delta"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "gehan",
      "title": "Times of Remission of Leukemia Patients (Gehan)",
      "object": "gehan",
      "class": [
        "data.frame"
      ],
      "fields": [
        "pair",
        "time",
        "cens",
        "treat"
      ],
      "rows": 42,
      "table": true,
      "tojson": true
    },
    {
      "name": "KIDNEY",
      "title": "Recurrent infection of kidney catheters",
      "object": "KIDNEY",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "sex",
        "t1",
        "t2",
        "delta1",
        "delta2"
      ],
      "rows": 38,
      "table": true,
      "tojson": true
    },
    {
      "name": "leukemiaFZ",
      "title": "Survival Times of Patients with Leukemia (Feigl and Zelen)",
      "object": "leukemiaFZ",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time",
        "delta",
        "AG",
        "wbc"
      ],
      "rows": 33,
      "table": true,
      "tojson": true
    },
    {
      "name": "psych",
      "title": "Death Times of Psychiatric Patients (Woolson)",
      "object": "psych",
      "class": [
        "data.frame"
      ],
      "fields": [
        "sex",
        "age",
        "time",
        "death"
      ],
      "rows": 26,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "BeMRes",
      "title": "Markov Beta Model",
      "topics": [
        "BeMRes"
      ]
    },
    {
      "page": "BePlotDiag",
      "title": "Diagnosis plots for PI, U, C and Epsilon",
      "topics": [
        "BePlotDiag"
      ]
    },
    {
      "page": "BePloth",
      "title": "Plots for the discrete Hazard and Survival Function Estimates",
      "topics": [
        "BePloth"
      ]
    },
    {
      "page": "BGPHazard",
      "title": "BGPHazard: A package bayesian nonparametric inference in survival analysis.",
      "topics": [
        "BGPHazard"
      ]
    },
    {
      "page": "BMTKLeinbook",
      "title": "Times to death or relapse (in days) for patients with bone marrow transplants for Hodgkin and non-Hodgkin lymphoma",
      "topics": [
        "BMTKleinbook"
      ]
    },
    {
      "page": "BSBHaz",
      "title": "BSBHaz posterior samples using Gibbs Sampler",
      "topics": [
        "BSBHaz"
      ]
    },
    {
      "page": "BSBInit",
      "title": "Initial setup for BSBHaz model",
      "topics": [
        "BSBInit"
      ]
    },
    {
      "page": "BSBPlotDiag",
      "title": "Plot diagnostics for BSBHaz model",
      "topics": [
        "BSBPlotDiag"
      ]
    },
    {
      "page": "BSBPlotSumm",
      "title": "Plot summaries for BSBHaz model",
      "topics": [
        "BSBPlotSumm"
      ]
    },
    {
      "page": "BSBSumm",
      "title": "Get posterior summaries for BSBHaz model",
      "topics": [
        "BSBSumm"
      ]
    },
    {
      "page": "CCuMRes",
      "title": "Bayesian Semiparametric Cure Rate Model with an Unknown Threshold and Covariate Information",
      "topics": [
        "CCuMRes"
      ]
    },
    {
      "page": "CCuPlotDiag",
      "title": "Diagnostics plots for Lambda, Theta, Delta, U, C, Pi, Z and Epsilon. Hazard function, cure proportion and cure time for the median observation.",
      "topics": [
        "CCuPlotDiag"
      ]
    },
    {
      "page": "CCuPloth",
      "title": "Plots for the Hazard and Survival Funcion Estimates",
      "topics": [
        "CCuPloth"
      ]
    },
    {
      "page": "CGaMRes",
      "title": "Markov Gamma Model with Covariates",
      "topics": [
        "CGaMRes"
      ]
    },
    {
      "page": "CGaPlotDiag",
      "title": "Diagnostics plots for lambda, U, C, Epsilon and Theta",
      "topics": [
        "CGaPlotDiag"
      ]
    },
    {
      "page": "CGaPloth",
      "title": "Plots for the Hazard and Survival Funcion Estimates for the Bayesian non-parametric Markov gamma model with covariates in survival analysis.",
      "topics": [
        "CGaPloth"
      ]
    },
    {
      "page": "cpo",
      "title": "Conditional Predictive Ordinate (CPO) Statistic",
      "topics": [
        "cpo"
      ]
    },
    {
      "page": "crm3",
      "title": "Simulated data from the proportional hazards cure rate model of Yakolev & Tsodikov (1996) by taking a baseline density with a bounded support.",
      "topics": [
        "crm3"
      ]
    },
    {
      "page": "CuMRes",
      "title": "Bayesian Semiparametric Cure Rate Model with an Unknown Threshold",
      "topics": [
        "CuMRes"
      ]
    },
    {
      "page": "CuPlotDiag",
      "title": "Diagnosis plots for Lambda, U, C, Mu, Pi, Z and Epsilon",
      "topics": [
        "CuPlotDiag"
      ]
    },
    {
      "page": "CuPloth",
      "title": "Plots for the Hazard and Survival Funcion Estimates",
      "topics": [
        "CuPloth"
      ]
    },
    {
      "page": "GaMRes",
      "title": "Markov Gamma Model",
      "topics": [
        "GaMRes"
      ]
    },
    {
      "page": "GaPlotDiag",
      "title": "Diagnosis plots for Lambda, U, C and Epsilon",
      "topics": [
        "GaPlotDiag"
      ]
    },
    {
      "page": "GaPloth",
      "title": "Plots for the Hazard and Survival Function Estimates",
      "topics": [
        "GaPloth"
      ]
    },
    {
      "page": "gehan",
      "title": "Times of Remission of Leukemia Patients (Gehan)",
      "topics": [
        "gehan"
      ]
    },
    {
      "page": "KIDNEY",
      "title": "Recurrent infection of kidney catheters",
      "topics": [
        "KIDNEY"
      ]
    },
    {
      "page": "leukemiaFZ",
      "title": "Survival Times of Patients with Leukemia (Feigl and Zelen)",
      "topics": [
        "leukemiaFZ"
      ]
    },
    {
      "page": "psych",
      "title": "Death Times of Psychiatric Patients (Woolson)",
      "topics": [
        "psych"
      ]
    }
  ],
  "_readme": "https://github.com/eami91/bgphazard/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "Brobdingnag",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "ggthemes",
    "glue",
    "gridExtra",
    "gtable",
    "hms",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "RColorBrewer",
    "readr",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "bivariate-model-example.Rmd",
      "filename": "bivariate-model-example.html",
      "title": "Bivariate Model Example",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Initial setup",
        "Gibbs Sampler",
        "Summaries",
        "Tables",
        "Plots"
      ],
      "created": "2020-08-23 20:40:22",
      "modified": "2021-01-02 18:10:00",
      "commits": 2
    },
    {
      "source": "BGPHhazard.Rmd",
      "filename": "BGPHhazard.html",
      "title": "Introduction to BGPhazard",
      "author": "José A. García-Bueno Emilio A. Morones Ishikawa and Luis E. Nieto-Barajas",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Abstract",
        "Introduction",
        "Hazard rate estimation",
        "Markov beta and gamma prior processes",
        "Gamma Process",
        "Beta Process",
        "Prior to posterior analysis",
        "Beta process",
        "Cox-gamma model",
        "Gamma model examples",
        "Example 1. Independence case. Unitary length intervals}",
        "Example 2. Introducing dependence through c. Unitary length intervals",
        "Example 3. Varying c through a distribution. Unitary length intervals",
        "Example 4. Using a hierarchical model to estimate c. Unitary intervals",
        "Example 5. Introducing dependence through c. Equally dense intervals",
        "Example 6. Varying c through a distribution. Equally dense intervals",
        "Example 7. Using a hierarchical model to estimate c. Equally dense intervals",
        "Beta model examples",
        "Example 1. Independence case",
        "Example 2. Introducing dependence through c",
        "Example 3. Varying c through a distribution",
        "Example 4. Using a hierarchical model to estimate c",
        "Cox-gamma model example"
      ],
      "created": "2023-09-01 21:41:21",
      "modified": "2023-09-01 21:41:21",
      "commits": 1
    }
  ],
  "_score": 4.3222192947339195,
  "_indexed": true,
  "_nocasepkg": "bgphazard",
  "_universes": [
    "eami91"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.1",
      "date": "2026-05-18T08:34:39.000Z",
      "distro": "noble",
      "commit": "38b5da445787523d414ca114ff0c57c895e1f1f5",
      "fileid": "4cee64a180657e414bc3503999e520572f9735fcaf56e6c1372595fe493f0e2c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/eami91/actions/runs/26022237030"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.1",
      "date": "2026-05-18T08:34:36.000Z",
      "distro": "noble",
      "commit": "38b5da445787523d414ca114ff0c57c895e1f1f5",
      "fileid": "1991630f3ceeac4fbfb4b8a249dd2af125a80c1d3ec8de693c558d148fe30f8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/eami91/actions/runs/26022237030"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.1",
      "date": "2026-05-18T08:35:03.000Z",
      "commit": "38b5da445787523d414ca114ff0c57c895e1f1f5",
      "fileid": "3cda7ca9ae0fcfa80d169bd6921e1a9c02ae7bdc886bf8a48166eba2cc362309",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/eami91/actions/runs/26022237030"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.1",
      "date": "2026-05-18T08:34:46.000Z",
      "commit": "38b5da445787523d414ca114ff0c57c895e1f1f5",
      "fileid": "7777a0e832b221a8f6c2dbc4894cc9d18284f46bc57756ee590df7d33463aa2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/eami91/actions/runs/26022237030"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.1",
      "date": "2026-05-18T08:33:55.000Z",
      "commit": "38b5da445787523d414ca114ff0c57c895e1f1f5",
      "fileid": "bfc66d568ba6730207f0c4fda7cf572e94b1c44340b3eea86ec3b09352f50e8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/eami91/actions/runs/26022237030"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.1",
      "date": "2026-05-18T08:33:33.000Z",
      "commit": "38b5da445787523d414ca114ff0c57c895e1f1f5",
      "fileid": "d719c088fe4db2e994eb8d9002b171de7dd0ebe46bf9e5cdda1e006f199f75cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/eami91/actions/runs/26022237030"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1.1",
      "date": "2026-05-18T08:33:45.000Z",
      "commit": "38b5da445787523d414ca114ff0c57c895e1f1f5",
      "fileid": "387296f4cec8bcf8c413e14e9be7627886454560e9bb87b6d89d070f59ce7e72",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/eami91/actions/runs/26022237030"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.1",
      "date": "2026-06-02T16:16:10.000Z",
      "commit": "38b5da445787523d414ca114ff0c57c895e1f1f5",
      "fileid": "c9823b9cee785aba2f16aeba9cd238e99c3744a03af2d292458c6b8597bb9b2c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/eami91/actions/runs/26022237030"
    }
  ]
}