is_descendant: Is one hyena a maternal descendant of the other?

View source: R/is_descendant.R

is_descendantR Documentation

Is one hyena a maternal descendant of the other?

Description

Returns TRUE or FALSE depending on whether the test.id is a maternal descendant of the hypothesized matriarch.

Usage

is_descendant(test.id, matriarch)

Arguments

test.id

A string specifying the name of the hypothesized descendant

matriarch

A string specifying the name of the hypothesized matriarch

Examples

is_descendant('knot', 'kb') # returns TRUE
is_descendant('pike', 'kb') # returns FALSE


MaraHyenaProject/hyenatools documentation built on Jan. 30, 2025, 5:10 p.m.