Finding a pattern in reponses in R programming
I did a study in which around 1000 participants took a test (100 questions). In this study participants were asked in each question to choose between two texts (text 1 and text 2) and decide which text is easier for them. Now in R I want to check if there are any participants who followed a pattern. For example, he or she have only chosen texts 1 or text 2. I also want to examine response string screening for participants that alternated left/right/left/right etc... 20, 30, 40, 50, 60, 70, 80, 90, 100 times in a row. Can anyone help me that how I can do it in R?
Topic pattern-recognition r
Category Data Science