Learn R Programming

ggenealogy (version 0.2.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 variety/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)

See Also

getChild for information on determining children

Examples

Run this code
data(sbGeneal)
getParent("Essex", sbGeneal)
buildDesList("Essex", sbGeneal, 3)

Run the code above in your browser using DataLab