15.5 Transition Networks
Here’s the transition network for the phases.
<- rn_transition(phaseOut$phase_name) TM1
You can also pass a nominal series directly.
# This will output the transition matrix, a plot of the matrix and a transition network plot.
<- c("Happy", "Happy", "Sad", "Neutral", "Neutral", "Angry", "Sad", "Sad", "Neutral")
y
<- rn_transition(y) TM2