| AERHMMClass {mapfit} | R Documentation |
ErlangHMM for MAP with fixed phases
Description
ErlangHMM for MAP with fixed phases
ErlangHMM for MAP with fixed phases
Details
A special case of MAP.
Methods
Public 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
sizeAn integer of the number of phases
erhmmAn 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()
Usage
AERHMMClass$print(...)
Arguments
...Others
Method mmoment()
Marginal moments
Usage
AERHMMClass$mmoment(k, ...)
Arguments
kAn integer of degree
...Others
Returns
A vector of moments
Method jmoment()
Joint moments
Usage
AERHMMClass$jmoment(lag, ...)
Arguments
lagAn 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
dataA dataframe
optionsA list of options
...Others
Method init()
Initialize with data
Usage
AERHMMClass$init(data, ...)
Arguments
dataA dataframe
...Others
optionsA list of options
Method clone()
The objects of this class are cloneable with this method.
Usage
AERHMMClass$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.