check_ancestors: Check ancestor individuals
Description
Takes a column name, and checks its use as target.
It should name a boolean vector (or coercible to it),
with at least one TRUE value.
Usage
check_ancestors(id, ancestors)
Value
No return value. Will print an error message if checking fail.
Arguments
- id
Vector of individual ids.
- ancestors
Vector of ancestor ids.