General-Purpose Phase-Type Functions
Overview
General implementation of core function from phase-type theory. 'PhaseTypeR' can be used to model continuous and discrete phase-type distributions, both univariate and multivariate. The package includes functions for outputting the mean and (co)variance of phase-type distributions; their density, probability and quantile functions; functions for random draws; functions for reward-transformation; and functions for plotting the distributions as networks. For more information on these functions please refer to Bladt and Nielsen (2017, ISBN: 978-1-4939-8377-3) and Campillo Navarro (2019) https://orbit.dtu.dk/en/publications/order-statistics-and-multivariate-discrete-phase-type-distributio.
- Minor patch to solve the CRAN errors by avoiding negative weights in the
igraph module.
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 19 (5 internal)
- Examples that run
- 93%13 run in a plain check · 1 never run
- Exported functions with examples
- 100%
- Documented parameters
- 80%
- Return-value docs
- 100%
- Help pages citing references
- 5%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 4
- Median days to close, 50 most recently updated closed PRs
- 0
11 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/rivasiker/phasetyper on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2023-04-27 · The repository has a site deploy workflow
Show all practicesHide 2 practices
Dependencies
Code & Tests
People & History
Package metadata
- First published
- 2021-11-30
- Total releases
- 5 / 5 yrs
- License
- GPL-3 OSI
- Download size
- 778 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("PhaseTypeR")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.