The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

TemporalHazard: Temporal Parametric Hazard Modeling

Provides native R implementations of the multiphase parametric hazard model of Blackstone, Naftel, and Turner (1986) <doi:10.1080/01621459.1986.10478314> with a focus on behavioral parity, transparent numerics, and reproducible validation against reference outputs from the original 'C'/'SAS' HAZARD program, originally developed at the University of Alabama at Birmingham (UAB). The 'SAS'/'C' code and this R package are currently developed and maintained at The Cleveland Clinic Foundation, and the R code was wholly developed at The Cleveland Clinic Foundation. The generalized temporal decomposition family extends to longitudinal mixed-effects settings (Rajeswaran et al. 2018 <doi:10.1177/0962280215623583>). The package is intentionally implemented in pure R first; performance-critical paths may later be accelerated with 'Rcpp' without changing the public interface.

Version: 1.0.3
Depends: R (≥ 4.1.0)
Imports: survival
Suggests: covr, ggplot2, knitr, lintr, numDeriv, pkgdown, quarto, roxygen2, rmarkdown, scales, testthat (≥ 3.0.0)
Published: 2026-05-30
DOI: 10.32614/CRAN.package.TemporalHazard
Author: John Ehrlinger [aut, cre, cph]
Maintainer: John Ehrlinger <john.ehrlinger at gmail.com>
BugReports: https://github.com/ehrlinger/temporal_hazard/issues
License: MIT + file LICENSE
URL: https://ehrlinger.github.io/temporal_hazard/, https://github.com/ehrlinger/temporal_hazard
NeedsCompilation: no
Language: en-US
Citation: TemporalHazard citation info
Materials: README, NEWS
CRAN checks: TemporalHazard results

Documentation:

Reference manual: TemporalHazard.html , TemporalHazard.pdf
Vignettes: Package Architecture (source, R code)
Complete Clinical Analysis Walkthrough (source, R code)
Fitting Hazard Models (source, R code)
Getting Started with TemporalHazard (source, R code)
Inference & Diagnostics (source, R code)
Mathematical Foundations of TemporalHazard (source, R code)
Prediction & Visualization (source, R code)
Migrating from SAS HAZARD to TemporalHazard (source, R code)

Downloads:

Package source: TemporalHazard_1.0.3.tar.gz
Windows binaries: r-devel: TemporalHazard_1.0.3.zip, r-release: not available, r-oldrel: TemporalHazard_1.0.3.zip
macOS binaries: r-release (arm64): TemporalHazard_1.0.3.tgz, r-oldrel (arm64): TemporalHazard_1.0.3.tgz, r-release (x86_64): TemporalHazard_1.0.3.tgz, r-oldrel (x86_64): TemporalHazard_1.0.3.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=TemporalHazard to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.