A package to handle and analyse discrete Markov chains