as.gph {mapfit} | R 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)
[Package mapfit version 1.0.0 Index]