{
  "_id": "6a1053e4acfb0bcc41ca1e91",
  "Package": "xhaz",
  "Title": "Excess Hazard Modelling Considering Inappropriate Mortality\nRates",
  "Version": "2.1.0",
  "Authors@R": "c(\nperson(given = \"Juste\", family = \"Goungounga\",\nrole = c(\"aut\", \"cre\"),\nemail = \"juste.goungounga@ehesp.fr\",\ncomment = c(ORCID = \"0000-0002-9039-2639\")),\nperson(given = \"Hadrien\", family = \"Charvat\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0003-3624-1394\")),\nperson(given = \"Darlin\", family = \"Mba\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0001-9768-0230\")),\nperson(given = \"Nathalie\", family = \"Graffeo\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0001-7227-7525\")),\nperson(given = \"Roch\", family = \"Giorgi\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0001-6135-3078\")))",
  "Maintainer": "Juste Goungounga <juste.goungounga@ehesp.fr>",
  "Description": "Fits relative survival regression models with or without\nproportional excess hazards and with the additional possibility\nto correct for background mortality by one or more\nparameter(s). These models are relevant when the observed\nmortality in the studied group is not comparable to that of the\ngeneral population or in population-based studies where the\navailable life tables used for net survival estimation are\ninsufficiently stratified. In the latter case, the proposed\nmodel by Touraine et al. (2020) <doi:10.1177/0962280218823234>\ncan be used. The user can also fit a model that relaxes the\nproportional expected hazards assumption considered in the\nTouraine et al. excess hazard model. This extension was\nproposed by Mba et al. (2020) <doi:10.1186/s12874-020-01139-z>\nto allow non-proportional effects of the additional variable on\nthe general population mortality. In non-population-based\nstudies, researchers can identify non-comparability source of\nbias in terms of expected mortality of selected individuals. An\nexcess hazard model correcting this selection bias is presented\nin Goungounga et al. (2019) <doi:10.1186/s12874-019-0747-3>.\nThis class of model with a random effect at the cluster level\non excess hazard is presented in Goungounga et al. (2023)\n<doi:10.1002/bimj.202100210>.",
  "License": "AGPL (>= 3)",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "ByteCompile": "yes",
  "Language": "en-US",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-09 08:47:40 UTC",
    "User": "root"
  },
  "Author": "Juste Goungounga [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9039-2639>), Hadrien Charvat [aut]\n(ORCID: <https://orcid.org/0000-0003-3624-1394>), Darlin Mba\n[aut] (ORCID: <https://orcid.org/0000-0001-9768-0230>),\nNathalie Graffeo [aut] (ORCID:\n<https://orcid.org/0000-0001-7227-7525>), Roch Giorgi [aut]\n(ORCID: <https://orcid.org/0000-0001-6135-3078>)",
  "Config/pak/sysreqs": "make libicu-dev perl",
  "Repository": "https://jgoungounga.r-universe.dev",
  "Date/Publication": "2026-01-28 22:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/xhaz",
  "RemoteRef": "HEAD",
  "RemoteSha": "70e8f7d780fb0ff9d5c9d838c9793c02d054c4a8",
  "MD5sum": "16cb46c96044ff4e4629bafd86055c39",
  "_user": "jgoungounga",
  "_type": "src",
  "_file": "xhaz_2.1.0.tar.gz",
  "_fileid": "364f36e1601260658472992784cbbdb150a8236337c64c6663b76ec8341dac22",
  "_filesize": 1247848,
  "_sha256": "364f36e1601260658472992784cbbdb150a8236337c64c6663b76ec8341dac22",
  "_created": "2026-05-09T08:47:40.000Z",
  "_published": "2026-05-22T13:02:28.063Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77384694500,
      "time": 155,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6894441656"
    },
    {
      "job": 77384695103,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894440682"
    },
    {
      "job": 77384694519,
      "time": 113,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6894436681"
    },
    {
      "job": 77384694652,
      "time": 99,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894435448"
    },
    {
      "job": 77384694136,
      "time": 207,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894425762"
    },
    {
      "job": 77384694108,
      "time": 139,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7161126107"
    },
    {
      "job": 77384694853,
      "time": 122,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6894437668"
    },
    {
      "job": 77384695194,
      "time": 111,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6894436571"
    },
    {
      "job": 77384694972,
      "time": 105,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894436134"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jgoungounga/actions/runs/25596834180",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/xhaz",
  "_commit": {
    "id": "70e8f7d780fb0ff9d5c9d838c9793c02d054c4a8",
    "author": "Juste Goungounga <juste.goungounga@ehesp.fr>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.1.0\n",
    "time": 1769640002
  },
  "_maintainer": {
    "name": "Juste Goungounga",
    "email": "juste.goungounga@ehesp.fr",
    "login": "jgoungounga",
    "twitter": "@GoungoungaJuste",
    "uuid": 35728759,
    "orcid": "0000-0002-9039-2639"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "mexhaz",
      "version": ">= 2.6",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 4.3.0",
      "role": "Depends"
    },
    {
      "package": "survival",
      "version": ">= 2.6",
      "role": "Depends"
    },
    {
      "package": "gtools",
      "role": "Imports"
    },
    {
      "package": "numDeriv",
      "role": "Imports"
    },
    {
      "package": "optimParallel",
      "role": "Imports"
    },
    {
      "package": "splines",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "survexp.fr",
      "role": "Imports"
    },
    {
      "package": "statmod",
      "version": ">= 1.5.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-05",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "2.1.0",
      "date": "2026-01-28"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jgoungounga",
      "count": 2,
      "uuid": 35728759
    }
  ],
  "_userbio": {
    "uuid": 35728759,
    "type": "user",
    "name": "Juste Goungounga",
    "description": "Ass. Professor in Biostatistics and health data (Ecole des Hautes Etudes en Santé Publique)"
  },
  "_downloads": {
    "count": 241,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/xhaz"
  },
  "_searchresults": 13,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/xhaz.html",
    "manual.pdf"
  ],
  "_realowner": "jgoungounga",
  "_cranurl": false,
  "_releases": [
    {
      "version": "2.0.0",
      "date": "2022-09-07"
    },
    {
      "version": "2.0.1",
      "date": "2022-09-19"
    },
    {
      "version": "2.0.2",
      "date": "2024-06-29"
    },
    {
      "version": "2.1.0",
      "date": "2026-01-28"
    }
  ],
  "_exports": [
    "as.predxhaz",
    "as.predxhaz_list",
    "as.xhaz",
    "duplicate",
    "exphaz",
    "mexhazLT",
    "pred_list",
    "qbs",
    "xhaz"
  ],
  "_datasets": [
    {
      "name": "breast",
      "title": "Simulated clinical trial data with non comparability bias in term of individuals expected hazard",
      "object": "breast",
      "class": [
        "data.frame"
      ],
      "fields": [
        "temps",
        "statut",
        "age",
        "agecr",
        "date",
        "SEX",
        "armt",
        "hosp",
        "dept"
      ],
      "rows": 4978,
      "table": true,
      "tojson": true
    },
    {
      "name": "ccr.mevents",
      "title": "colorectum cancer data with multiple events",
      "object": "ccr.mevents",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "sex",
        "age",
        "stage",
        "time",
        "status",
        "event",
        "date_diag",
        "MUA"
      ],
      "rows": 936,
      "table": true,
      "tojson": true
    },
    {
      "name": "dataCancer",
      "title": "Simulated data with cause death information with non comparability bias in term of individuals expected hazard",
      "object": "dataCancer",
      "class": [
        "data.frame"
      ],
      "fields": [
        "obs_time",
        "event",
        "age",
        "ageCentre",
        "sexx",
        "immuno_trt",
        "year_date",
        "obs_time_year"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "rescaledData",
      "title": "Simulated data with cause death information with non comparability bias in term of individuals expected hazard",
      "object": "rescaledData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "date",
        "age",
        "age.c",
        "sex",
        "hormTh",
        "time",
        "status"
      ],
      "rows": 1996,
      "table": true,
      "tojson": true
    },
    {
      "name": "simuData",
      "title": "Simulated data with cause death information in long term follow-up setting without non comparability bias in term of individuals expected hazard",
      "object": "simuData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "age",
        "agec",
        "sex",
        "race",
        "date",
        "time",
        "status",
        "time_year"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "anova.bsplines",
      "title": "anova.bsplines function used for likelihood-ratio Test of two models from xhaz function",
      "topics": [
        "anova.bsplines"
      ]
    },
    {
      "page": "anova.constant",
      "title": "anova.constant function used for likelihood-ratio Test of two models from xhaz function",
      "topics": [
        "anova.constant"
      ]
    },
    {
      "page": "anova.mexhazLT",
      "title": "anova.mexhazLT function used for likelihood-ratio Test of two models from mexhaz function",
      "topics": [
        "anova.mexhazLT"
      ]
    },
    {
      "page": "as.predxhaz",
      "title": "Coerce to predxhaz object",
      "topics": [
        "as.predxhaz"
      ]
    },
    {
      "page": "as.predxhaz_list",
      "title": "Coerce a generic list of models (and subgroups) to a predxhaz_list",
      "topics": [
        "as.predxhaz_list"
      ]
    },
    {
      "page": "as.xhaz",
      "title": "Coerce a fitted object to have '\"xhaz\"' as first class",
      "topics": [
        "as.xhaz"
      ]
    },
    {
      "page": "breast",
      "title": "Simulated clinical trial data with non comparability bias in term of individuals expected hazard",
      "topics": [
        "breast"
      ]
    },
    {
      "page": "ccr.mevents",
      "title": "colorectum cancer data with multiple events",
      "topics": [
        "ccr.mevents"
      ]
    },
    {
      "page": "dataCancer",
      "title": "Simulated data with cause death information with non comparability bias in term of individuals expected hazard",
      "topics": [
        "dataCancer"
      ]
    },
    {
      "page": "duplicate",
      "title": "duplicate function",
      "topics": [
        "duplicate"
      ]
    },
    {
      "page": "exphaz",
      "title": "exphaz function",
      "topics": [
        "exphaz"
      ]
    },
    {
      "page": "mexhazLT",
      "title": "mexhazLT function",
      "topics": [
        "mexhazAlpha",
        "mexhazLT"
      ]
    },
    {
      "page": "plot.bsplines",
      "title": "plot.bsplines",
      "topics": [
        "plot.bsplines"
      ]
    },
    {
      "page": "plot.predxhaz",
      "title": "plots of excess hazard and net Survival from an 'predxhaz' object",
      "topics": [
        "plot.predxhaz"
      ]
    },
    {
      "page": "plot.predxhaz_list",
      "title": "Plot predictions from several xhaz models (two-panel display)",
      "topics": [
        "plot.predxhaz_list"
      ]
    },
    {
      "page": "pred_list",
      "title": "Create a predxhaz_list from predxhaz objects",
      "topics": [
        "pred_list"
      ]
    },
    {
      "page": "predict.bsplines",
      "title": "Predictions of excess hazard and net Survival from a 'bsplines' object",
      "topics": [
        "predict.bsplines"
      ]
    },
    {
      "page": "predict.constant",
      "title": "Predictions of excess hazard and net Survival from an 'constant' object",
      "topics": [
        "predict.constant"
      ]
    },
    {
      "page": "print.bsplines",
      "title": "A print.bsplines Function used to print a object of class 'bsplines'",
      "topics": [
        "print.bsplines"
      ]
    },
    {
      "page": "print.constant",
      "title": "A print.constant Function used to print a object of class constant",
      "topics": [
        "print.constant"
      ]
    },
    {
      "page": "print.predxhaz",
      "title": "A print.predxhaz Function used to print a object of class predxhaz",
      "topics": [
        "print.predxhaz"
      ]
    },
    {
      "page": "qbs",
      "title": "qbs function",
      "topics": [
        "qbs"
      ]
    },
    {
      "page": "rescaledData",
      "title": "Simulated data with cause death information with non comparability bias in term of individuals expected hazard",
      "topics": [
        "rescaledData"
      ]
    },
    {
      "page": "simuData",
      "title": "Simulated data with cause death information in long term follow-up setting without non comparability bias in term of individuals expected hazard",
      "topics": [
        "simuData"
      ]
    },
    {
      "page": "summary.bsplines",
      "title": "A summary.bsplines Function used to print a object of class 'bsplines'",
      "topics": [
        "summary.bsplines"
      ]
    },
    {
      "page": "summary.constant",
      "title": "A summary.constant Function used to print a object of class 'xhaz.constant'",
      "topics": [
        "summary.constant"
      ]
    },
    {
      "page": "xhaz",
      "title": "xhaz function",
      "topics": [
        "xhaz"
      ]
    }
  ],
  "_readme": "https://github.com/cran/xhaz/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "glue",
    "gtools",
    "lamW",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "mexhaz",
    "numDeriv",
    "optimParallel",
    "Rcpp",
    "RcppParallel",
    "rlang",
    "statmod",
    "stringi",
    "stringr",
    "survexp.fr",
    "survival",
    "vctrs",
    "WriteXLS"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to Excess Hazard Modelling Considering Inappropriate Mortality Rates",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Installation",
        "Fitting an classical excess hazard regression model with a piecewise constant baseline hazard",
        "Fitting an excess hazard regression model with a piecewise constant baseline hazard with background mortality corrected with proportional effect for race variable",
        "Fitting an excess hazard regression model with a piecewise constant baseline hazard with background mortality corrected with non proportional effect for race variable",
        "Plot of net survival and excess hazard for different models",
        "License",
        "Acknowledgments",
        "session info"
      ],
      "created": "2022-09-07 17:40:02",
      "modified": "2026-01-28 22:40:02",
      "commits": 4
    },
    {
      "source": "rescaling_excess_hazard_models.Rmd",
      "filename": "rescaling_excess_hazard_models.html",
      "title": "How to implement a rescaled random-effects excess hazard regression model to handle situations involving inappropriate life tables.",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Installation",
        "Fitting an classical excess hazard regression model with a cubic B-splines for the baseline hazard as in mexhaz",
        "Fitting a rescaled excess hazard regression model with a cubic B-splines for the baseline hazard as in mexhaz",
        "Fitting a random-effects excess hazard regression model with a cubic B-splines for the baseline hazard as in mexhaz",
        "Fitting a rescaled random-effects excess hazard regression model with a cubic B-splines for the baseline hazard as in mexhaz",
        "Plot of net survival and excess hazard for different models",
        "License",
        "Acknowledgments",
        "Session Info"
      ],
      "created": "2024-06-30 02:47:14",
      "modified": "2026-01-28 22:40:02",
      "commits": 2
    }
  ],
  "_score": 3.113943352306837,
  "_indexed": true,
  "_nocasepkg": "xhaz",
  "_universes": [
    "jgoungounga"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-05-09T08:49:57.000Z",
      "distro": "noble",
      "commit": "70e8f7d780fb0ff9d5c9d838c9793c02d054c4a8",
      "fileid": "6d735a6beee6ca0248c24c114a55f9578385fa9d0eb54534ccfa4d2d9e7c897e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jgoungounga/actions/runs/25596834180"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-05-09T08:49:52.000Z",
      "distro": "noble",
      "commit": "70e8f7d780fb0ff9d5c9d838c9793c02d054c4a8",
      "fileid": "fda00311e07831b07ab6f5066123a0028d9dc99b508404806a9eccf3ba756287",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jgoungounga/actions/runs/25596834180"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-05-09T08:49:24.000Z",
      "commit": "70e8f7d780fb0ff9d5c9d838c9793c02d054c4a8",
      "fileid": "17ec174c27a1fff82b89648839e64e94cc0c10a29232edcc73a1b1e245b1701b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jgoungounga/actions/runs/25596834180"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-05-09T08:49:14.000Z",
      "commit": "70e8f7d780fb0ff9d5c9d838c9793c02d054c4a8",
      "fileid": "d6fafe0e5a92dfc013c984c770a96603a85699926fab429eed340549be3deea3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jgoungounga/actions/runs/25596834180"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-05-09T08:49:07.000Z",
      "commit": "70e8f7d780fb0ff9d5c9d838c9793c02d054c4a8",
      "fileid": "629367bbce2ebb6220133f3677f0f26df0f664b08cdce140b8acd85020a48f52",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jgoungounga/actions/runs/25596834180"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-05-09T08:49:00.000Z",
      "commit": "70e8f7d780fb0ff9d5c9d838c9793c02d054c4a8",
      "fileid": "c6a7ac3066842929af0ee44c242ab69b5828ba7a0528352ab0598112d58a41bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jgoungounga/actions/runs/25596834180"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-05-09T08:48:57.000Z",
      "commit": "70e8f7d780fb0ff9d5c9d838c9793c02d054c4a8",
      "fileid": "ad076233169190a717f5030d006c1bd49e0b313baceb1e7a0a57340cd37fc342",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jgoungounga/actions/runs/25596834180"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.0",
      "date": "2026-05-22T13:02:09.000Z",
      "commit": "70e8f7d780fb0ff9d5c9d838c9793c02d054c4a8",
      "fileid": "1822c838980464fef457f287f25cad61ab3bf6c5aa20a5501b7c4fad5b9ef97c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jgoungounga/actions/runs/25596834180"
    }
  ]
}