Learn R Programming

ggenealogy (version 1.0.3)

buildSpreadTotalDF: Build a data frame where the varieties are spread so they do not overlap

Description

Constructs a data frame object so that varieties are spread such that they do not overlap, even though the x-axis position will represent dates.

Usage

buildSpreadTotalDF(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

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