I have a dataset with 40,000 rows and it has columns say timer name and user name and event date . we have 335 unique items of timer names. The problem is to find the sequence of pattern of timername column for each user name and patterns are of 2 ,3,4… ab,abc,abcf…Can someone please post R program for above scenario.
Answer :I want to list the output with the timernames involving Ab --> countera 1 ac --> counterb --> 1 af --> counterc -->1 Ab --> countera --> 2… Counter values keep incrementing for the next same pattern occurrence . Final output should be : An user followed (A,b ) for four times which is maximum.