# miniPCH

<!-- badges: start -->
[![Codecov test coverage](https://codecov.io/gh/SimNPH/miniPCH/branch/main/graph/badge.svg)](https://app.codecov.io/gh/SimNPH/miniPCH?branch=main)
[![CRAN status](https://www.r-pkg.org/badges/version/miniPCH)](https://CRAN.R-project.org/package=miniPCH)
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
[![R-CMD-check](https://github.com/SimNPH/miniPCH/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/SimNPH/miniPCH/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->

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:

``` r
devtools::install_git("https://github.com/SimNPH/miniPCH.git")
```



