Learn R Programming

ggenealogy (version 0.2.0)

getYear: Determine the year of a variety

Description

Returns the documented year of the inputted variety

Usage

getYear(v1, geneal)

Arguments

v1
the label of the variety/vertex of interest (in character string format)
geneal
the full genealogy (in data frame format)

Examples

Run this code
data(sbGeneal)
getYear("Essex", sbGeneal)
getYear("Tokyo", sbGeneal)

Run the code above in your browser using DataLab