dfToIG | R Documentation |
Processes the genealogy into an igraph object with appropriate vertex information, graph type, and edge weights.
dfToIG(geneal, vertexinfo = NULL, edgeweights = 1, isDirected = FALSE)
geneal |
the full genealogy (in data frame format) |
vertexinfo |
(default NULL) either names of columns in the genealogy which should be added to the database as vertex information or a data frame with information for all vertices such that the first column contains vertex names. |
edgeweights |
(default 1) name of a column which contains edge weights |
isDirected |
(default FALSE) should the graph be a directed graph? |
https://www.r-project.org for iGraph information
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.