isChild: Determine if a variety is a child of another

View source: R/allFunctions.R

isChildR Documentation

Determine if a variety is a child of another

Description

Returns a boolean variable for whether the first variety is a child of the second variety

Usage

isChild(child, parent, geneal)

Arguments

child

possible child variety

parent

possible parent variety

geneal

the full genealogy (in data frame format)

References

Rutter L, VanderPlas S, Cook D, Graham MA (2019). ggenealogy: An R Package for Visualizing Genealogical Data. Journal of Statistical Software, 89(13), 1–31. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.18637/jss.v089.i13")}

Examples

data(sbGeneal)
isChild("Essex", "Young", sbGeneal)
isChild("Young", "Essex", sbGeneal)

lrutter/ggenealogy documentation built on Feb. 22, 2024, 8:03 p.m.