{"id":32203211,"url":"https://github.com/arturstat/smoothhr","last_synced_at":"2026-02-18T21:03:13.769Z","repository":{"id":56934562,"uuid":"412927735","full_name":"arturstat/smoothHR","owner":"arturstat","description":"Smooth Hazard Ratio Curves Taking a Reference Value","archived":false,"fork":false,"pushed_at":"2024-02-25T18:14:39.000Z","size":93,"stargazers_count":2,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-21T21:45:41.475Z","etag":null,"topics":["cox-model","generalized-additive-models","hazard-ratios","smoothing","survival-analysis"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arturstat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-10-02T22:50:01.000Z","updated_at":"2023-12-10T08:26:17.000Z","dependencies_parsed_at":"2024-01-25T00:40:35.068Z","dependency_job_id":"7fb85c7b-44f1-4ab7-abd8-2156d1c5dfa0","html_url":"https://github.com/arturstat/smoothHR","commit_stats":{"total_commits":50,"total_committers":1,"mean_commits":50.0,"dds":0.0,"last_synced_commit":"98c51051a4aeb6b7ee5cf9162a78f4e27291bc79"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/arturstat/smoothHR","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arturstat%2FsmoothHR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arturstat%2FsmoothHR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arturstat%2FsmoothHR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arturstat%2FsmoothHR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arturstat","download_url":"https://codeload.github.com/arturstat/smoothHR/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arturstat%2FsmoothHR/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29596126,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T20:59:56.587Z","status":"ssl_error","status_checked_at":"2026-02-18T20:58:41.434Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cox-model","generalized-additive-models","hazard-ratios","smoothing","survival-analysis"],"created_at":"2025-10-22T04:34:28.288Z","updated_at":"2026-02-18T21:03:13.764Z","avatar_url":"https://github.com/arturstat.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# smoothHR\nSmooth Hazard Ratio Curves Taking a Reference Value.\n\n## Description\nProvides flexible hazard ratio curves allowing non-linear relationships between continuous predictors and survival. To better understand the effects that each continuous covariate has on the outcome, results are expressed in terms of hazard ratio curves, taking a specific covariate value as reference. Confidence bands for these curves are also derived.\n\n## Installation\nIf you want to use the release version of the **smoothHR** package, you can install the package from CRAN as follows:\n```r\ninstall.packages(pkgs=\"smoothHR\");\n```\nIf you want to use the development version of the **smoothHR** package, you can install the package from GitHub via the [**remotes**](https://remotes.r-lib.org) package:\n```r\nremotes::install_github(\n  repo=\"arturstat/smoothHR\",\n  build=TRUE,\n  build_manual=TRUE\n);\n```\n\n## Authors\nArtur Araújo and Luís Meira-Machado \u003clmachado@math.uminho.pt\u003e \\\nMaintainer: Artur Araújo \u003cartur.stat@gmail.com\u003e\n\n## Funding\nThis research was financed by **FEDER** Funds through *Programa Operacional Factores de Competitividade* -- **COMPETE**; by Portuguese Funds through **FCT** -- *Fundação para a Ciência e a Tecnologia*, in the form of grants PTDC/MAT/104879/2008 and Est-C/MAT/UI0013/2011; and by the Spanish Ministry of Industry and Innovation, Grant MTM2011-28285-C02-01.\n\n## References\nCadarso-Suarez, C. and Meira-Machado, L. and Kneib, T. and Gude, F. (2010). Flexible hazard ratio curves for continuous predictors in multi-state models: an application to breast cancer data. *Statistical Modelling*, **10**(3), 291-314. [doi:10.1177/1471082X0801000303](https://doi.org/10.1177/1471082X0801000303)\n\nEilers, Paul H. and Marx, Brian D. (1996). Flexible smoothing with B-splines and penalties. *Statistical Science*, **11**(2), 89-121. [doi:10.1214/ss/1038425655](https://doi.org/10.1214/ss/1038425655)\n\nHosmer, D. W. and Lemeshow, S. and May, S. (2008). *Applied Survival Analysis: Regression Modeling of Time to Event Data: Second Edition*, John Wiley and Sons Inc., New York, NY.\n\nHurvich, C. M. and Simonoff, J. S. and Tsai, Chih-Ling (1998). Smoothing parameter selection in nonparametric regression using an improved Akaike information criterion. *JRSSB*, **60**(2), 271–293. [doi:10.1111/1467-9868.00125](https://doi.org/10.1111/1467-9868.00125)\n\nMeira-Machado, L. and Cadarso-Suárez, C. and Gude, F. and Araújo, A. (2013). smoothHR: An R Package for Pointwise Nonparametric Estimation of Hazard Ratio Curves of Continuous Predictors. *Computational and Mathematical Methods in Medicine*, **2013**, 11 pages. [doi:10.1155/2013/745742](https://doi.org/10.1155/2013/745742)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farturstat%2Fsmoothhr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farturstat%2Fsmoothhr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farturstat%2Fsmoothhr/lists"}