state Frequency
Generates numTransitions transitions and tabulates the states visited. The returned frequency also holds the observed transition counts, so its transitionProportions estimates this chain's transition matrix from the path just simulated.