title: Frequent Sequential Patterns
body: <p>What would be the best way to get the sequential pattern for such data in R : </p>
  
  <p><a href="https://i.stack.imgur.com/sI35H.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sI35H.png" alt="enter image description here"></a></p>
  
  <p>The idea is to get the frequency of letters in process 1,2, and 3. Is there GSP function that can do that ? any insight or tutorial is appreciated.  </p>