Skip to content

PhaseTypeR

1.0.4

General-Purpose Phase-Type Functions

0packages depend
2.9Kdownloads / year
99.7%test coverage
13/13checks pass

Overview

About
Maintained by Iker Rivas-GonzálezFirst published 2021-11-305 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 5.8 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.74
99.7%
Coverage · measured lines
100%
Documentation · exports
3
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 192 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
93%
Documented parameters
80%
Return-value docs
100%
References docs
5%

Downloads

2.9K
CRAN downloads in the past year
Rank #14,291 · ~8/day · ~245/mo
Daily download trend is not available in this view yet.
24730 days
74590 days
2.9K1 year
Compare downloads with other packages →
Also on97 r2u32 autocran34 c2d4u

Repository

Repository
2Stars
1Forks
0Open issues
0Open PRs
6Releases
396Commits
5Contributors
License GPL-3.0 · 396 commits · Last activity 2023-04-27

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/rivasiker/phasetyper on 2026-07-26.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (3)
expmigraphmethods
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (4)
Package Timeline

5 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 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
    2022-07-21 · current release · diff ↗
  • 1.0.3
    2022-07-14 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.2
    2022-02-10 · diff ↗
  • 1.0.1
    2021-12-06 · diff ↗
  • 1.0.0
    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
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →