Description
Survival Distributions with Piece-Wise Constant Hazards.
Description
Density, distribution function, ... hazard function, cumulative hazard function, survival function for survival distributions with piece-wise constant hazards and multiple states.
README.md
miniPCH
This package provides functionality for survival functions with piece-wise constant hazards in the well known form of functions dpch
, ppch
, ... as well as functions that take the parameters of the distribution and can later be evaluated just with the time, probability, ...
Installation
You can install the development version of miniPCH like so:
devtools::install_git("https://github.com/SimNPH/miniPCH.git")