Learn R Programming

mapfit (version 1.0.0)

as.map: Convert from ERHMM to MAP

Description

Convert from ERHMM to the general MAP

Usage

as.map(x)

Value

An instance of MAP

Arguments

x

An instance of ERHMM

Examples

Run this code
## create a hyper Erlang with specific parameters
(param <- erhmm(shape=c(2,3), alpha=c(0.3,0.7), rate=c(1.0,10.0)))

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

Run the code above in your browser using DataLab