powered by
Create an instance of ERHMM
erhmm( size, shape, alpha = rep(1/length(shape), length(shape)), rate = rep(1, length(shape)), P = matrix(1/length(shape), length(shape), length(shape)) )
An instance of ERHMM
An integer of the number of phases
A vector of shape parameters
A vector of initial probability (alpha)
A vector of rate parameters
A matrix of transition probabilities