Identifying individuals with common mating patterns

Look for "association rules mining". This package is very useful for this application

If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.