buildAncList | R Documentation |
This function returns a nested list of the ancestors of the inputted variety.
buildAncList(v1, geneal, gen = 0)
v1 |
the label of the vertex of interest (in character string format) |
geneal |
the full genealogy (in data frame format) |
gen |
the generation (note: This should be left as default, as any other input will not affect results anyway) |
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")}
getParent
for information on determining parents
data(sbGeneal)
getParent("Essex", sbGeneal)
buildAncList("Essex", sbGeneal)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.