rphasetype: Random phase-type

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Generates a sample of size n from a phase-type distribution with parameters alpha and S

Usage

1
rphasetype(n, alpha, S)

Arguments

n

Sample size

alpha

Initial probabilities

S

sub-intensity matrix

Value

The simulated sample


matrixdist documentation built on Sept. 5, 2021, 5:26 p.m.