Survival Distributions with Piece-Wise Constant Hazards

Density, distribution function, ... hazard function, cumulative hazard function, survival function for survival distributions with piece-wise constant hazards and multiple states and methods to plot and summarise those distributions. A derivation of the used algorithms can be found in my masters thesis .


miniPCH

Codecov test coverage CRAN status Lifecycle: stable R-CMD-check

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")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("miniPCH")

0.4.1 by Tobias Fellinger, 7 months ago


https://simnph.github.io/miniPCH/, https://github.com/SimNPH/miniPCH


Report a bug at https://github.com/SimNPH/miniPCH/issues/


Browse source code at https://github.com/cran/miniPCH


Authors: Tobias Fellinger [aut, cre] (ORCID: , Florian Klinglmueller [aut] (ORCID:


Documentation:   PDF Manual  


GPL (>= 3) license


Imports Rcpp, checkmate

Suggests testthat, covr, withr, vdiffr, ggplot2

Linking to Rcpp, RcppArmadillo


Imported by SimNPH.


See at CRAN