check_ancestors: Check ancestor individuals

View source: R/check.R

check_ancestorsR Documentation

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)

Arguments

id

Vector of individual ids.

ancestors

Vector of ancestor ids.

Value

No return value. Will print an error message if checking fail.


purgeR documentation built on Aug. 16, 2023, 9:07 a.m.