ggenealogy (version 1.0.0)

buildDesList: Returns the descendants of a particular variety (if they exist).

Description

This function returns a nested list of the descendants of the inputted variety.

Usage

buildDesList(v1, geneal, gen = 0)

Arguments

v1

the label of the vertex of interest (in character string format)

geneal

the full genealogy (in data frame format)

gen

the generation (note: This should be left as default, as any other input will not affect results)

References

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. 10.18637/jss.v089.i13

See Also

getChild for information on determining children

Examples

Run this code
# NOT RUN {
data(sbGeneal)
getParent("Essex", sbGeneal)
buildDesList("Essex", sbGeneal, 3)
# }

Run the code above in your browser using DataLab