emHMMR function

emHMMR implemens the EM (Baum-Welch) algorithm to fit a HMMR model.