SemiMarkovModel function

A semi-Markov model for cohort simulation