check_order: Check individual order
Description
Individuals must be sorted from older to younger
Usage
check_order(id, dam, sire, soft_sorting = FALSE)
Value
No return value. Will print an error message if checking fail.
Arguments
- id
Vector of individual ids.
- dam
Vector of dam ids.
- sire
Vector of sire ids.
- soft_sorting
If TRUE checking is relaxed, allowing descendants to be declared before ancestors