New to R. Selecting cases using with multiple selectors to find breeding patterns in horse pedigree database

To move on to the domain-specifics (horse breeding), start the dialogue with a reprex representative dataset. See the FAQ: How to do a minimal reproducible example reprex for beginners.