How to subset a data frame by a rowvalue

Then it's time for a reproducible example, called a reprex, since I clearly misunderstood what you're trying to do.