Categories / indexing
Removing Duplicates with Unique() Function in R: A Step-by-Step Approach
Counting Unique Instances in Rows Between Two Columns Given by Index
Creating a Sequence that Repeats Based on Column Value with R's `ave` Function
Matching Against Only a Subset of Dataframe Elements Using dplyr: Replicating the "Match" Column