Conditional mutate based on order of variables
I have vectors that index the events A, B, C. Each event occurs at least once but can occur multiple times. For example:
I have vectors that index the events A, B, C. Each event occurs at least once but can occur multiple times. For example: