buildAncDesTotalDF | R Documentation |
Returns the data frame that includes labels and plot coordinates of all ancestors and descendants of a variety. Users can specify the maximum number of ancestors and descendants to display.
buildAncDesTotalDF(v1, geneal, mAnc = 3, mDes = 3)
v1 |
the label of the vertex of interest (in character string format) |
geneal |
the full genealogy (in data frame format) |
mAnc |
the maximum number of generations of ancestors of v1 to be displayed (in numeric format) |
mDes |
the maximum number of generations of descendants of v1 to be displayed (in numeric 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. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.18637/jss.v089.i13")}
buildAncList
for information on determining ancestors
buildDesList
for information on determining descendants
data(sbGeneal)
v1 <- "Essex"
buildAncDesTotalDF(v1, sbGeneal)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.