buildEdgeTotalDF: Build the edges in the genealogy graph.

View source: R/allFunctions.R

buildEdgeTotalDFR Documentation

Build the edges in the genealogy graph.

Description

This function takes the graph object and creates a data frame object of the edges between all parent-child relationships in the graph.

Usage

buildEdgeTotalDF(geneal, ig, colName, bin = 12)

Arguments

geneal

the full genealogy (in data frame format)

ig

the graph representation of the data genealogy (in igraph format)

colName

the name of the column of the data frame that contains the quantitative variable of interest (in character string format)

bin

the number of bins to determine the vertical positions of nodes (default is 12). For more information on choosing bin size, please visit the ggenealogy vignette.

See Also

dfToIG for information on producing ig from the genealogy

https://www.r-project.org for iGraph information


lrutter/ggenealogy documentation built on Feb. 22, 2024, 8:03 p.m.