ErlangHMM for MAP
ErlangHMM for MAP
alpha()
Get alpha
ERHMMClass$alpha()
A vector of alpha
shape()
Get shape
ERHMMClass$shape()
A vector of shapes
rate()
Get rate
ERHMMClass$rate()
A vector of rates
P()
Get P
ERHMMClass$P()
A matrix of P
xi()
Get exit rates
ERHMMClass$xi()
A vector of exit rates
new()
Create an ERHMM
ERHMMClass$new(alpha, shape, rate, P, xi)
alpha
A vector of initial probability
shape
A vector of shape parameters
rate
A vector of rate parameters
P
A matrix of transition probabilities
xi
An exit rate vector
An instance of ERHMM
copy()
copy
ERHMMClass$copy()
A new instance
size()
The number of components
ERHMMClass$size()
The number of components
The degrees of freedom
...
Others
mmoment()
Marginal moments
ERHMMClass$mmoment(k, ...)
k
An integer of degree
...
Others
A vector of moments
jmoment()
Joint moments
ERHMMClass$jmoment(lag, ...)
lag
An integer of lag
...
Others
A matrix of moments
...
Others
A vector for k-lag correlation
emfit()
Run EM
ERHMMClass$emfit(data, options, ...)
data
A dataframe
options
A list of options
...
Others
init()
Initialize with data
ERHMMClass$init(data, ...)
data
A dataframe
...
Others
clone()
The objects of this class are cloneable with this method.
ERHMMClass$clone(deep = FALSE)
deep
Whether to make a deep clone.
A special case of MAP.