getChild {ggenealogy} | R Documentation |
Returns the children of a particular variety (if they exist)
Description
This function returns zero or more values that indicate the children of the inputted variety.
Usage
getChild(v1, geneal)
Arguments
v1 |
the label of the vertex of interest (in character string format) |
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. doi:10.18637/jss.v089.i13
Examples
data(sbGeneal)
getChild("Tokyo", sbGeneal)
getChild("Essex", sbGeneal)
[Package ggenealogy version 1.0.3 Index]