Skip to content

PhaseTypeR

1.0.4Package record

General-Purpose Phase-Type Functions

0packages depend
2.9Kdownloads / year
99.7%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.0.4
  • Minor patch to solve the CRAN errors by avoiding negative weights in the

igraph module.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.8 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.4
READMEYes · 192 wordsVignettesYes · 3 · dynamicNEWSYes · 100% structured · mentions 1.0.4Citation fileNoWebsiteYes · pkgdown
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

2.9K
CRAN downloads in the past year
Rank #12,059 · ~8/day · ~244/mo
Daily download trend is not available in this view yet.
40330 days
91290 days
2.9K1 year
Compare downloads with other packages →
Also on94 r2u7 autocran72 c2d4u

Repository

2Stars
1Forks
0Open issues
0Open PRs
6Releases
396Commits
5Commit identities
License file reads as GPL-3.0 · 396 commits · Last activity 2023-04-27 · Default branch at 1.0.5.9000, ahead of CRAN 1.0.4 (checked 2026-10-21)
Responsiveness
How these are sampled
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
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)
Code of conductContributing guide
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2023-04-27 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting
Show all practicesHide 2 practices
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing PhaseTypeR adds 10 packages (7 with compiled code, 8.1 MB of source tarballs). Heaviest: igraph 4.8 MB, vctrs 1.0 MB, rlang 766 KB.

Depends (0)
none
Imports (3)
expmigraphmethods
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (4)
Author, Maintainer since 1.0.0 (2021)
Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.4Latest
    record
    2022-07-21 · current release · diff ↗
  • 1.0.3
    record
    2022-07-14 · diff ↗ ·
    removed 1 export
    mean
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.2
    record
    2022-02-10 · diff ↗
  • 1.0.1
    record
    2021-12-06 · diff ↗
  • 1.0.0
    record
    2021-11-30
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-11-30
Total releases
5 / 5 yrs
License
GPL-3 OSI
Download size
778 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("PhaseTypeR")
Rivas-González, I., Andersen, L. N., Guetemme, C., & Hobolth, A. (2022). PhaseTypeR: General-Purpose Phase-Type Functions (Version 1.0.4) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for PhaseTypeR version 1.0.4 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy