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)alphaA vector of initial probability
shapeA vector of shape parameters
rateA vector of rate parameters
PA matrix of transition probabilities
xiAn 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, ...)kAn integer of degree
...Others
A vector of moments
jmoment()Joint moments
ERHMMClass$jmoment(lag, ...)lagAn integer of lag
...Others
A matrix of moments
...Others
A vector for k-lag correlation
emfit()Run EM
ERHMMClass$emfit(data, options, ...)dataA dataframe
optionsA list of options
...Others
init()Initialize with data
ERHMMClass$init(data, ...)dataA dataframe
...Others
clone()The objects of this class are cloneable with this method.
ERHMMClass$clone(deep = FALSE)deepWhether to make a deep clone.
A special case of MAP.