View source: R/is_descendant.R
is_descendant | R Documentation |
Returns TRUE or FALSE depending on whether the test.id is a maternal descendant of the hypothesized matriarch.
is_descendant(test.id, matriarch)
test.id |
A string specifying the name of the hypothesized descendant |
matriarch |
A string specifying the name of the hypothesized matriarch |
is_descendant('knot', 'kb') # returns TRUE
is_descendant('pike', 'kb') # returns FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.