Learn R Programming

mapfit (version 1.0.0)

AERHMMClass: ErlangHMM for MAP with fixed phases

Description

ErlangHMM for MAP with fixed phases

ErlangHMM for MAP with fixed phases

Arguments

Methods


Method alpha()

Get alpha

Usage

AERHMMClass$alpha()

Returns

A vector of alpha


Method shape()

Get shape

Usage

AERHMMClass$shape()

Returns

A vector of shapes


Method rate()

Get rate

Usage

AERHMMClass$rate()

Returns

A vector of rates


Method P()

Get P

Usage

AERHMMClass$P()

Returns

A matrix of P


Method xi()

Get exit rates

Usage

AERHMMClass$xi()

Returns

A vector of exit rates


Method new()

Create an AERHMM

Usage

AERHMMClass$new(size, erhmm)

Arguments

size

An integer of the number of phases

erhmm

An instance of ERHMM

Returns

An instance of AERHMM


Method copy()

copy

Usage

AERHMMClass$copy()

Returns

A new instance


Method size()

The number of components

Usage

AERHMMClass$size()

Returns

The number of components


Method df()

Degrees of freedom

Usage

AERHMMClass$df()

Returns

The degrees of freedom


Method print()

Print

Usage

AERHMMClass$print(...)

Arguments

...

Others


Method mmoment()

Marginal moments

Usage

AERHMMClass$mmoment(k, ...)

Arguments

k

An integer of degree

...

Others

Returns

A vector of moments


Method jmoment()

Joint moments

Usage

AERHMMClass$jmoment(lag, ...)

Arguments

lag

An integer of lag

...

Others

Returns

A matrix of moments


Method acf()

k-lag correlation

Usage

AERHMMClass$acf(...)

Arguments

...

Others

Returns

A vector for k-lag correlation


Method emfit()

Run EM

Usage

AERHMMClass$emfit(data, options, ...)

Arguments

data

A dataframe

options

A list of options

...

Others


Method init()

Initialize with data

Usage

AERHMMClass$init(data, ...)

Arguments

data

A dataframe

...

Others

options

A list of options


Method clone()

The objects of this class are cloneable with this method.

Usage

AERHMMClass$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Details

A special case of MAP.