as.gph: Convert from HErlang to GPH

View source: R/model_herlang.R

as.gphR Documentation

Convert from HErlang to GPH

Description

Convert from hyper-Erlang distribution to the general PH distribution

Usage

as.gph(h)

Arguments

h

An instance of HErlang

Value

An instance of GPH

Examples

#' ## create a hyper Erlang with specific parameters
(param <- herlang(shape=c(2,3), mixrate=c(0.3,0.7), rate=c(1.0,10.0)))

## convert to a general PH
as.gph(param)


mapfit documentation built on Nov. 22, 2022, 5:05 p.m.