Learn R Programming

purgeR (version 1.8.2)

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