Description Usage Arguments References Examples
Returns the degree (distance between unweighted edges) between two varieties, where an edge represents a parent-child relationship
1 | getDegree(v1, v2, ig, geneal)
|
v1 |
the label of the first vertex of interest (in character string format) |
v2 |
the label of the second vertex of interest (in character string format) |
ig |
the graph representation of the data genealogy (in igraph format) |
geneal |
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. doi: 10.18637/jss.v089.i13
1 2 3 |
[1] 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.