as.map: Convert from ERHMM to MAP

View source: R/model_erhmm.R

as.mapR Documentation

Convert from ERHMM to MAP

Description

Convert from ERHMM to the general MAP

Usage

as.map(x)

Arguments

x

An instance of ERHMM

Value

An instance of MAP

Examples

## 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)


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