If anyone can help; thanks.
Say I had a data frame of players answers to quiz questions regarding a certain area (countries in the table):

The 0 means a wrong answer, the 1 means a right answer. Also, lets say I had 40 country questions and 100 players. How would I loop and change certain scores for each player to a string like "disc" when they had answered a certain number of questions incorrectly?
That is, when a player has answered say 3/4 questions incorrectly on the countries category within the first 4 questions (as player one has), how would I then change each of his subsequent answers to "disc" (i.e., they would not count regardless of a correct or incorrect answer as 3 out of the first 4 questions were incorrect?) I would like to do this over the whole DF for each player in the specific "countries" category (so not the flag category).