
This function returns up to two values that indicate the parents of the inputted variety.
getParent(v1, geneal)
the label of the vertex of interest (in character string format)
the full genealogy (in data frame format)
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. tools:::Rd_expr_doi("10.18637/jss.v089.i13")
data(sbGeneal)
getParent("Tokyo", sbGeneal)
getParent("Essex", sbGeneal)
Run the code above in your browser using DataLab